Skip to content

Commit 14d8c81

Browse files
committed
use Pin
1 parent f34aa59 commit 14d8c81

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_rgbled.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ class RGBLED:
9898

9999
def __init__(
100100
self,
101-
red_pin: Union["microcontroller.Pin", PWMOut, "PWMChannel"],
102-
green_pin: Union["microcontroller.Pin", PWMOut, "PWMChannel"],
103-
blue_pin: Union["microcontroller.Pin", PWMOut, "PWMChannel"],
101+
red_pin: Union[Pin, PWMOut, "PWMChannel"],
102+
green_pin: Union[Pin, PWMOut, "PWMChannel"],
103+
blue_pin: Union[Pin, PWMOut, "PWMChannel"],
104104
invert_pwm: bool = False,
105105
) -> None:
106106
self._rgb_led_pins = [red_pin, green_pin, blue_pin]

0 commit comments

Comments
 (0)