Skip to content

Commit

Permalink
Update docstubs stubs for preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Josverl committed Aug 1, 2024
1 parent 87b7f57 commit f4f1a48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stubs/micropython-v1_24_0_preview-docstubs/modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"firmware": "micropython-v1_24_0_preview",
"nodename": "micropython",
"version": "v1.24.0-preview",
"release": "v1.24.0-preview-152-g6f27e1c96",
"release": "v1.24.0-preview-155-gd1685a3f5",
"sysname": "micropython"
},
"stubber": {
Expand Down
3 changes: 2 additions & 1 deletion stubs/micropython-v1_24_0_preview-docstubs/neopixel.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ class NeoPixel:
- *pin* is a machine.Pin instance.
- *n* is the number of LEDs in the strip.
- *bpp* is 3 for RGB LEDs, and 4 for RGBW LEDs.
- *timing* is 0 for 400KHz, and 1 for 800kHz LEDs (most are 800kHz).
- *timing* is 0 for 400KHz, and 1 for 800kHz LEDs (most are 800kHz). You
may also supply a timing tuple as accepted by `machine.bitstream()`.
"""

def __init__(self, pin, n, *, bpp=3, timing=1) -> None: ...
Expand Down

0 comments on commit f4f1a48

Please sign in to comment.