RCU Forums - View Single Post - CDI gr8flyer55
View Single Post
Old 08-22-2012, 02:27 PM
  #233  
jakestew
Senior Member
 
Join Date: Aug 2011
Location: Moscow, ID
Posts: 144
Likes: 0
Received 0 Likes on 0 Posts
Default RE: CDI gr8flyer55

Sorry Com, I've been busy with school starting back up.
There's lots of ways we can use the timers and interrupts. We could poll the input pin or set it to an interrupt, you can use an overflow counter variable or try to scale the timer right.
I favor using the interrupts as much as possible so that processing can continue. We only have 1 MIPS to play with when running at 4mhz.

As soon as I have some working code I'll post it. If you have any C code please post it and I'll do a little debugging and simulating to see what's going on with it.

I can't wait to switch over to the 12F1840, which we can run at 32mhz for 8 MIPS of processing power, plus all the extra memory and peripherals. But doing this 683 version will make sure the code is tight.