summaryrefslogtreecommitdiff
path: root/shared-bindings/rgbmatrix
diff options
context:
space:
mode:
authorTaku Fukada <naninunenor@gmail.com>2020-07-24 03:22:41 +0900
committerTaku Fukada <naninunenor@gmail.com>2020-07-24 18:20:03 +0900
commit54a342a7f5b74f32c7a53ea483d9046e688b9830 (patch)
treecbffe76818a71ffa52a8b7151baed21c0b387c5b /shared-bindings/rgbmatrix
parent543708416bc19bc1e77d859d013c4757433ad255 (diff)
Add and correct some type hints
Diffstat (limited to 'shared-bindings/rgbmatrix')
-rw-r--r--shared-bindings/rgbmatrix/RGBMatrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/rgbmatrix/RGBMatrix.c b/shared-bindings/rgbmatrix/RGBMatrix.c
index e04336351..fcf597bcb 100644
--- a/shared-bindings/rgbmatrix/RGBMatrix.c
+++ b/shared-bindings/rgbmatrix/RGBMatrix.c
@@ -128,7 +128,7 @@ STATIC void preflight_pins_or_throw(uint8_t clock_pin, uint8_t *rgb_pins, uint8_
}
}
-//| def __init__(self, *, width: int, bit_depth: List[digitalio.DigitalInOut], rgb_pins: List[digitalio.DigitalInOut], addr_pins: List[digitalio.DigitalInOut], clock_pin: digitalio.DigitalInOut, latch_pin: digitalio.DigitalInOut, output_enable_pin: digitalio.DigitalInOut, doublebuffer: bool = True, framebuffer: Optional[WriteableBuffer] = None, height: int = 0) -> None:
+//| def __init__(self, *, width: int, bit_depth: int, rgb_pins: Sequence[digitalio.DigitalInOut], addr_pins: List[digitalio.DigitalInOut], clock_pin: digitalio.DigitalInOut, latch_pin: digitalio.DigitalInOut, output_enable_pin: digitalio.DigitalInOut, doublebuffer: bool = True, framebuffer: Optional[WriteableBuffer] = None, height: int = 0) -> None:
//| """Create a RGBMatrix object with the given attributes. The height of
//| the display is determined by the number of rgb and address pins:
//| len(rgb_pins) // 3 * 2 ** len(address_pins). With 6 RGB pins and 4