Quote:
Originally Posted by Merfoo
We are trying to use the LIDAR sensor via PWM. How would we program this using Java? Right now we are trying to time the pulse length of the DigitalInput (would be PulseIn in Arduino), how would we accomplish this?
|
The Semi-Period mode of the counter class should do this.
http://wpilib.screenstepslive.com/s/...ulses-and-more