View Single Post
  #12   Spotlight this post!  
Unread 13-02-2015, 15:04
vamfun vamfun is offline
Mentor :Contol System Engineer
AKA: Chris
FRC #0599 (Robodox)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2003
Location: Van Nuys, California
Posts: 182
vamfun is a glorious beacon of lightvamfun is a glorious beacon of lightvamfun is a glorious beacon of lightvamfun is a glorious beacon of lightvamfun is a glorious beacon of lightvamfun is a glorious beacon of light
Send a message via AIM to vamfun
Re: Multiple Counter objects with Analog Triggers issues.

FWIW, the analog trigger output worked as a digital source for us using the counter class but seemed broken with the encoder class. Ref: http://www.chiefdelphi.com/forums/sh...analog+trigger

This counter command
Counter1.setUpSource(Trigger1, AnalogTriggerType.kRisingPulse);

seemed to work in setting the source. Would have liked a similar function for the encoder. E.g.

Encoder.setUpSource1(Trigger1, AnalogTriggerType.kRisingPulse);
Encoder.setUpSource2(Trigger2, AnalogTriggerType.kRisingPulse);

Last edited by vamfun : 13-02-2015 at 15:27.
Reply With Quote