Go to Post I'll not deprive you of the practice in reading the manual; you'll need it if you want to be an effective part of an FRC team. - Alan Anderson [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 00:30.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi