Driving WS2812 neopixel led strip
I am trying to use the LoPy 1.0r with the latest firmware and some NeoPixels - found this lib:
from 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, it worked with this lib!
livius last edited by livius
i do not know if above work or not
but try this one (it work)