I wanted to generate PWM during a sleep mode. I have read on a one website, that it is possible while using timer2 in asynchronous mode.
I'm not quite sure what do I have to do. I would be glad if you could write step-by-step what I need to do or if you pasted the code with comments so I understood it.
Thank you for your help :)