- Tue Nov 10, 2015 3:29 am
#33600
Congratulations, this looks great! I tried it yesterday on a NeoPixel 60 Ring with a nodemcu 0.9.
Some things gave a problem; like the variable name of the NeoPixelbus , I changed it to clock2.
Code: Select allNeoPixelBus clock = NeoPixelBus(pixelCount, clockPin);
The other library you might need to download is the
Time library.
One thing problem with the code is loading the settings page on the webserver. It just won't open.
But thanks anyway, I was working on a Led clock with MQTT support, this gives me some new ideas.
Chris Carter wrote:Sorry, the two libraries you' might struggle to find are here:
https://github.com/chrismelba/NeoPixelBus
https://github.com/chrismelba/NTP
The rest should be just a google away.
I've not tried the code with less than 60 pixels, but I can't think of a reason it wouldn't work? The seconds hand might get confused and not work, but the rest should (I think). Give it a try and report back!