|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Vex encoders/Interrupts
Hi,
Has anyone used the encoders with the Vex bot? We're using a Vex platform for prototyping so that the programmers can work on the drive code while everyone else builds the real thing. If I use Kevin's encoder code with the Vex encoders, or if I use EasyC with the Vex provided encoder code, I don't quite get what I expect! Interrupt 1 comes up as Encoder 2 (Kevin) or Interrupt 2 (Easy C) Interrupt input 2 comes up as Encoder 4 (Kevin) or Interrupt 4 (Easy C) 3 comes up as 6, and I can't find the rest of them. This happens on at least 2 Vex controllers, so I'm sure it's not a bad controller. Does anyone know for sure what ports the Interrupt pins map top, or do I need to disassemble my controller and map it out with a meter? ![]() Has anyone successfully used 4 encoders on a Vex bot, all connected as interrupts? ttyl, --buddy |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Interrupts | JSonntag | Programming | 1 | 14-01-2006 12:43 |
| Vex navigation with ultrasonic and encoders | GlennGraham | Electrical | 4 | 13-01-2006 12:58 |
| VEX Optical Shaft encoders in FRC | sanddrag | FIRST Tech Challenge | 8 | 04-10-2005 07:52 |
| Encoders, interrupts, and edge-triggering issues | Alan Anderson | Programming | 6 | 11-03-2005 16:06 |
| Interrupts | CyberWolf_22 | Control System | 3 | 12-01-2004 21:46 |