View Single Post
Old 08-01-2008, 09:00 AM   #5 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
Just FYI, I'm making some progress on the timer/event stuff. I did a test in the metro with a software debounce (schedule the interrupt re-enable 5ms later) but I still had to double the vsspulses/mile and the o-scope is still broken. I do have an ISR though and will probably disable timer0 and make my own millis(), delay(), etc() because I don't want to compete with timer0 for the CPUs attention.

Cut and paste code is nice, but I have to fight with arduino sometimes. If the arduino IDE takes over the timer2 ISR I will have to say it isn't worth it and drop into AVR and figure it out from there.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote