I have been looking through the data sheet for my ATMega 88PA and haven't been able to find any information on when OCR0A can be change. Do I need to stop the timer, change the value in OCR0A or can I simply change the value in OCR0A while the timer is running thus on the next period the wave form will be of the updated duty cycle?
Joined: Tue. Feb 24, 2009
Posts: 139 View posts