Re: [AVR-Chat] Setting timer0 on Atmega48
2011-09-25 by John Samperi
At 08:05 AM 25/09/2011, you wrote: >uccounter is a global unsigned char. And on top of all the other advice don't forget to make it volatile or the "optimiser" will do what IT thinks it's best for you...just like the government.... Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA Tel. (02) 9674-6495 Fax (02) 9674-8745 Website http://www.ampertronics.com.au *Electronic Design * Custom Products * Contract Assembly ********************************************************