--- In AVR-Chat@yahoogroups.com, "David VanHorn" <microbrix@...> wrote: > This is very nice in that you can clear all the flags simply by > reading the flag byte and writing it back. > Small price to pay. Clear any one flag by writing that bit to a one. > ok. so my feeble little TIFR1 &= ~(1 << TOV1) was resetting all the flags except the one i wanted. as i said i read it about 100 times, but was too stupid to glom onto the actual sense of it. maybe i'm getting better... > > little snip of code and run them in studio simulation. > well i've reduced things to a little snip of code, but, alas, no windows here. i'm off visiting family with nought but a little asus eeepc on which i managed to install avr-gcc and build avrdude. good thing i don't get paid for this. i'd be in a heap of trouble.
Message
Re: timer 1 question
2008-02-25 by bobby cossum
Attachments
- No local attachments were found for this message.