Skip to content
codrutaene edited this page Mar 28, 2019 · 16 revisions

button software debouncer xymatrix,collorPalette ledstrip example

https://hackaday.com/2016/08/24/realize-the-truth-there-is-no-word-clock/

https://www.hackster.io/Tittiamo/italian-word-clock-0d2670 https://create.arduino.cc/editor/Tittiamo/5e477421-6bc2-4240-982d-1a2d8b848527/preview https://www.instructables.com/id/Javelins-Word-Clock/

interrupt for button - can be used for pin 2 or 3 for setting the time https://www.tweaking4all.com/hardware/arduino/arduino-all-ledstrip-effects-in-one/

can use effects: https://www.tweaking4all.com/hardware/arduino/adruino-led-strip-effects/#LEDStripEffectCylon twinkle; cylon; random color twinkle; rainbow cycle; fire; metheor rain;

DONE https://www.tweaking4all.com/hardware/arduino/arduino-ws2812-led/ https://richardallen.me/2015/03/02/arduino-uno-push-buttons.html https://www.hackster.io/Tittiamo/clock-set-date-time-0d46a4 https://randomnerdtutorials.com/guide-for-ws2812b-addressable-rgb-led-strip-with-arduino/ Connect one side of the button to Gnd and the other side to an Arduino pin. Configure that pin as a digital input with pullup enabled: void setup() { pinMode(8, INPUT_PULLUP); }

power up neopixels https://www.eerkmans.nl/powering-lots-of-leds-from-arduino/

//in loop cu pinul 8 conectat la buton void loop() { if (digitalRead(8) == LOW) { //The button is pressed! } delay(100); }

Clone this wiki locally