View Single Post
  #4   Spotlight this post!  
Unread 20-12-2013, 21:26
RyanShoff RyanShoff is offline
Registered User
FRC #4143 (Mars Wars)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Metamora, IL
Posts: 145
RyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to behold
Re: Analog potentiometer to counter

changing
Code:
m_count->SetUpSource(m_trig, AnalogTriggerOutput::kRisingPulse);
to
Code:
m_count->SetUpSource(m_trig, AnalogTriggerOutput::kState);
gets the counter moving. Of course that doesn't make it functional.

I think AnalogTriggerOutput::kRisingPulse is implemented in the FPGA which I can't see inside.
__________________
Ryan Shoff
4143 Mars/Wars
CheapGears.com
Reply With Quote