Class DutyCycle

All Implemented Interfaces:
Sendable, AutoCloseable

public class DutyCycle
extends Object
implements Sendable, AutoCloseable
Class to read a duty cycle PWM input.

PWM input signals are specified with a frequency and a ratio of high to low in that frequency. There are 8 of these in the roboRIO, and they can be attached to any DigitalSource.

These can be combined as the input of an AnalogTrigger to a Counter in order to implement rollover checking.