neoclock-js
A NeoPixel wall clock made with JavaScript
Hardware
Buy from adafruit or AliExpress
Usage
- Setup your NeoPixel (Ring Wall Clock 60 X Ultra Bright WS2812 5050 RGB LED Lamp Panel)
- Connect DIN to pin 6 on Arduino
- Clone this repo
- Run
npm install && npm run setup
- Run
npm start
NOTE: The first pixel is 0 (or 60) on a clock
REPL
There are a few commands you can type in REPL
time()
Get current time for debug
strip
The strip object
circle()
Draw a circle
animating
Is the clock animating
Further reading
https://www.adafruit.com/category/168
https://github.com/ajfisher/node-pixel
Contributing
I build this for fun. I really want to try some crazy ideas! Do you have any? Send us a PR!
License
MIT © Steve Mao