> ok, so i have learned that to reset TOV1 i must set it. very zen. > (exactly how far north were the guys who designed this chip? bet it > was summer. couldn't sleep on account of 24 hour daylight.) 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. > it would be close enough, that is, but my timer math still appears to > be off. the flicker on my led has slowed, but is still too fast. > > any advise greatly appreciated. When getting started with the timers, it really helps to just do a little snip of code and run them in studio simulation. It's much easier to change the settings there, and observe what's happening.
Message
Re: [AVR-Chat] Re: timer 1 question
2008-02-25 by David VanHorn
Attachments
- No local attachments were found for this message.