GitHub - microchip-pic-avr-examples/avr128da48-cnano-sleep-modes-mcc: This repository showcases the different sleep modes of the AVR DA microcontroller through USART commands.
![How to deep sleep ATtiny/ATmega (to run for years with batteries) but still detect a button press? - Arduino Stack Exchange How to deep sleep ATtiny/ATmega (to run for years with batteries) but still detect a button press? - Arduino Stack Exchange](https://i.stack.imgur.com/8dnWb.png)
How to deep sleep ATtiny/ATmega (to run for years with batteries) but still detect a button press? - Arduino Stack Exchange
![AtTiny85 put in sleep mode and awaken through a 4N35 optocoupler | DIY eBike battery by curiosityBikes AtTiny85 put in sleep mode and awaken through a 4N35 optocoupler | DIY eBike battery by curiosityBikes](https://curiositybikes.files.wordpress.com/2015/05/fritz_bb.jpg)