Step 5Source Code
I have written the source code so that it performs in this manner:
- Plug in the power and the device starts up, lighting the Shamash (candle in the middle).
- Each button push lights an additional candle from right to left, allowing for the prayer to be said before the next candle is lit.
- After about 1 hour the lights will "burn out" when the device goes into power down mode. In this state very little power is consumed and the device will wait until the next night of Hanukkah.
- One button push will wake the device up from sleep and light the Shamash.
The ATtiny13 uses the factory fuse settings:
hfuse: 0xFF
lfuse: 0x6A
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|










































