Log in

View Full Version : Interrupts


CyberWolf_22
11-01-2004, 18:25
I was looking at the robot controller reference guide and did not notice any information about interrupts, when looking at the default code it still has the interrupt handler but there are no references to external interrupts. So my question is, are there external interrupts on the new controller or just the internal timer ones?

Jay Lundy
11-01-2004, 23:19
I was looking at the robot controller reference guide and did not notice any information about interrupts, when looking at the default code it still has the interrupt handler but there are no references to external interrupts. So my question is, are there external interrupts on the new controller or just the internal timer ones? Yup.

INT0 and INT1 are being used by FIRST.

INT2 = Dig I/O pin 1
INT3 = Dig I/O pin 2
RB4 = Dig I/O pin 3
RB5 = Dig I/O pin 4
RB6 = Dig I/O pin 5
RB7 = Dig I/O pin 6

CyberWolf_22
12-01-2004, 21:04
Can you please tell me were you obtained this info.

Kevin Watson
12-01-2004, 21:46
Can you please tell me were you obtained this info.It was discussed in this thread (http://www.chiefdelphi.com/forums/showthread.php?p=205032#post205032). You can also have a look at ifi_aliases.h to see that the port b interrupts are mapped to the digital I/Os mentioned above.

-Kevin