Class Tachometer

java.lang.Object
edu.wpi.first.wpilibj.counter.Tachometer
All Implemented Interfaces:
Sendable, AutoCloseable

public class Tachometer
extends Object
implements Sendable, AutoCloseable
Tachometer.

The Tachometer class measures the time between digital pulses to determine the rotation speed of a mechanism. Examples of devices that could be used with the tachometer class are a hall effect sensor, break beam sensor, or optical sensor detecting tape on a shooter wheel. Unlike encoders, this class only needs a single digital input.