View Single Post
  #1   Spotlight this post!  
Unread 06-02-2007, 08:59
buddy.smith buddy.smith is offline
Master Control
FRC #1795
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: atlanta
Posts: 20
buddy.smith is an unknown quantity at this point
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