View Single Post
Old 07-04-2009, 05:41 PM   #1917 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,119 Times in 734 Posts
OK, the program for the first time, with DCB's truly awesome re-organization of the ISRs, is working! I had to get rid of that stupid:

cSREG = SREG; /* store SREG value */
cli(); // disable interrupts

....

SREG = cSREG;

I just don't even attempt to disable interrupts anymore. It seems unnecessary.

I should send it to that RSVP ASAP! But I still don't know how. I'm supposed to read up on that. hehe.
__________________
kits and boards
  Reply With Quote