Skip to content

Make Frequency a Parameter to run Neopixels at 400 kHz (WS2811) or 800 kHz (WS2812)? #19

Closed
@geekmomprojects

Description

@geekmomprojects

Hi,
I was trying to run some PTH Neopixels with the CircuitPython library, but the timing was off because the PTH neopixels, which were the WS2811 kind run at 400 kHz, while most WS2812 neopixels run at 800 kHz. By changing the FREQ parameter from FREQ = 6400000 to FREQ = 3200000 in this library I was able to run the WS2811 neopixels correctly, but I had to modify my own copy of the library to do it. Is it possible to create a parameter, as in the Arduino Neopixel library that lets the user change the neopixel signal frequency in the code, if desired? Happy to attach more information if needed.
Thanks!
Debra (GeekMomProjects)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions