Thread: PWM Input?
View Single Post
  #11   Spotlight this post!  
Unread 08-02-2014, 22:38
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: PWM Input?

Quote:
Originally Posted by FrankJ View Post
Would not a counter count pulses rather than pulse width? It seems unless something is programed in the FPGA it is not doable.
The getperiod() method in the counter class in WPILib uses FPGA to measure the pulse width using a microsecond timer.