View Single Post
  #3   Spotlight this post!  
Unread 03-05-2008, 11:52
Nikhil Bajaj Nikhil Bajaj is offline
MATLAB Fan
FRC #0461 (Westside Boiler Invasion)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2002
Location: West Lafayette, Indiana
Posts: 101
Nikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond repute
Send a message via AIM to Nikhil Bajaj
Re: Automatic counter-Encoder

I have a feeling that you may have to connect the same clicker output to two interrupt pins, and have one trigger on the rising edge and one trigger on the falling edge in order to do what you want...don't the PIC interrupt pins only trigger on either rising or falling, and not both? I guess I'm not quite sure about this...it depends on how the microcontroller is configured in the RC...

Last edited by Nikhil Bajaj : 03-05-2008 at 11:57.