Not that I'm calling Spinnaker a two-timer or anything, but actually it's three.The PIC16F877A has two timers...
Oops you are right. Hey it was late last night when I looked at the data sheet!Not that I'm calling Spinnaker a two-timer or anything, but actually it's three.
And any time you need more than one timer, you might do better to use just one but divide it down to get the rates you want. So you'd get an interrupt at a rate of (let's say) 10000 per second, and you'd take every 10th one to get 1000/sec, or every 50th one to get 200/sec, and so forth. It has the advantage that you only have to enable one interrupt, and the number of timed events you can control is pretty much unlimited (64 would be no problem). But as always, "it depends".
|Thread starter||Similar threads||Forum||Replies||Date|
|P||How to control a USB device with a microcontoller?||Microcontrollers||9|
|A||Pic18f4550 microcontoller to IOT||Microcontrollers||0|
|V||Newbie needing help with designing a Microcontoller||Programming & Languages||4|
|K||what covers the microcontoller?||Microcontrollers||4|
|V||microcontoller based power theft controller||Microcontrollers||12|
by Gary Elinoff
by Luke James