Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NeoPixel/WS2812B timing. #47

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

jimmo
Copy link
Contributor

@jimmo jimmo commented Jun 6, 2023

  • Change frequency from 500kHz to 800kHz to match datasheet.
  • Updating high & low timings to match make:code.

Tested on a variety of WS2812B strips as well as SK6812 RGB and RGBW strips and APA104 used by newer revisions of the Seeed Bit Kit micro:car.

Fixes lancaster-university/codal-microbit-v2#294 (cc @microbit-carlos @finneyj )

- Change frequency from 500kHz to 800kHz to match datasheet.
- Updating high & low timings to match make:code.

Tested on a variety of WS2812B strips as well as SK6812 RGB and RGBW strips.

Signed-off-by: Jim Mussared <[email protected]>
@JohnVidler
Copy link
Contributor

Looks a sensible patch to me!

Lets get this merged in.

@JohnVidler JohnVidler merged commit 84b1aee into lancaster-university:master Jun 12, 2023
@dpgeorge
Copy link

Thanks @JohnVidler for merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ws2812 timing is incorrect when using HARDWARE_NEOPIXEL
3 participants