Driving WS2812 neopixel led strip
-
Hi all,
I am trying to use the LoPy 1.0r with the latest firmware and some NeoPixels - found this lib:
https://github.com/aureleq/wipy-lopy-WS2812from ws2812 import WS2812 from utime import sleep_ms chain = WS2812( ledNumber=1, brightness=50, dataPin='P22' ) # dataPin is for LoPy board only data = [(255, 102, 0)] chain.show( data ) while True: chain.show( data ) sleep_ms( 150 )Unfortunately just nothing happens. Has anyone succeeded in using the LoPy with the latest firmware to drive some neopixels?
thx
Sven -
@hansamann
i do not know if above work or not
but try this one (it work)
https://raw.githubusercontent.com/Gadgetoid/wipy-WS2812/master/ws2812alt.py -
thx, it worked with this lib!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login