View Single Post
  #2   Spotlight this post!  
Unread 21-01-2004, 16:44
Mercutio Mercutio is offline
Atticus Finch Wannabe
#1213 (The Grobots)
 
Join Date: Feb 2003
Location: Birmingham, Michigan
Posts: 63
Mercutio is on a distinguished road
Cool never mind...

YAY! I FIXED IT! If you're having the same problem, read this:

INT2 and INT3 (the interrupts on digital inputs 1 and 2) ARE NOT ENABLED BY DEFAULT!!!!!

INTCON3bits.INTXIE, the bit that controls whether INTX is enabled (where X is 2 or 3 and probably 1 or 0 as well), is set to 0 by default! You have to change it before the interrupts will work.

If everyone knows this already, feel free to delete this thread, moderator. If this is a problem people might run into, on the other hand, it might be best to leave it up.

~Aaron
__________________
"If we knew what we were doing, it wouldn't be called research, would it?"
—Albert Einstein

<X3 What can I do? You broke the tie wraps that were holding together my heart. ^_^