Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Re: [AVR-Chat] Setting timer0 on Atmega48

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
********************************************************

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.