From: <ha...@hu...> - 2007-04-03 09:43:50
|
2007/4/2, Matthias Trute <mt...@we...>: > Hans H=FCbner schrieb: > > Joh, > > > > if you meant to write 1/100s (10 ms), using Timer0 will work just > > fine! I had no problems running it at higher speeds, too, with my > > interrupt handler written in Forth. > > Which frequencies did you use? I used Timer0 with clock prescaling set to 256 and interrupting on overflow, on an ATMEGA16 at 16 Mhz. This results in interrupts at roughly 240 Hz. Looking the other way, it leaves 256 256 * AVR instructions per interrupt. -Hans |