Game and Sleep Timer for my daugther with a Button to switch between different modes
- a Red Dot cycles arround with 1 Pixel / minute
- play for 24 minutes
- All Pixel violett (PLAY_COLOR) at beginning
- each minute (PLAY_DELAY) one LED is switched off
- after 24 Minutes switches to Mode 4 (End of Play)
- on button press: switch to mode 2
- toothbrushing for four Minutes
- All Pixel white (TOOTH_COLOR) at beginning
- each 10 sec (TOOTH_DELAY) one LED is switched off
- after 2 Minutes switches to Mode 5 (End of Toothbrush)
- on button press: switch to mode 3
- reading for 24 Minutes
- All Pixel green (READ_COLOR) at beginning
- each minute (READ_DELAY) one LED is switched off
- after 24 Minutes switches to Mode 6 (End of Read)
- on button press: switch to mode 0
- blink all LEDs dark violett (PLAY_COLOR_END)
- until Button is pressed, then switch to mode 2
- blink all LEDs dark white (TOOTH_COLOR_END)
- until Button is pressed, then switch to mode 3
- blink all LEDs dark white (READ_COLOR_END)
- until Button is pressed
- until Button is pressed, then switch to mode 0
- Arduino Nano
- Button shorts GND D2
- 24 LED Neopixel Ring D12