Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   FRC easy-c vex encoder function? (http://www.chiefdelphi.com/forums/showthread.php?t=42446)

Gdeaver 22-01-2006 18:21

FRC easy-c vex encoder function?
 
Our team has not yet brought easy-c up yet but, my understanding is that the Vex encoder functions are not included with the FRC version of the software. If this is true is there anyway to import them? Our team would like to use them if possible.

Dan Larochelle 23-01-2006 06:49

Re: FRC easy-c vex encoder function?
 
The Optical Encoder function block in easyC for FRC works the same was the Vex encoder block in easyC for Vex. This means you can plug your Vex encoder into your FRC controller and it will work as expected. Obviously you will have to change the PWM connector from male to female or use an adapter PWM cable that changes the gender in order to plug it into the FRC controller.

BradAMiller 23-01-2006 08:03

Re: FRC easy-c vex encoder function?
 
Quote:

Originally Posted by Gdeaver
Our team has not yet brought easy-c up yet but, my understanding is that the Vex encoder functions are not included with the FRC version of the software. If this is true is there anyway to import them? Our team would like to use them if possible.

The palette of EasyC has blocks for an Optical Quadrature Encoder (2 channel output with direction sensing) and an Optical Encoder (VEX single output encoder).

The Optical Encoder was put there to support the VEX encoders but simply counts edges and can actually be used with any single output encoder you might have. In fact, you can use it to count pulses from any device including limit switches.

Just remember that the encoder must be used with inputs 1-6 and not any of the others.


All times are GMT -5. The time now is 14:11.

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