|
micro-ELC
|
Defines an interface for measuring the frequency, rotational speed, or voltage of a generator to use as the input to the control loop. More...
#include <Measurement.h>

Public Member Functions | |
| virtual float | getMeasurement ()=0 |
| Use this method to get the most recent measurement on the speed of the generator. More... | |
| virtual void | run ()=0 |
| call this in loop() since some forms of measurement may need to be constantly polled More... | |
Defines an interface for measuring the frequency, rotational speed, or voltage of a generator to use as the input to the control loop.
|
pure virtual |
Use this method to get the most recent measurement on the speed of the generator.
| measurement | (float) |
Implemented in TachometerJEncoder.
|
pure virtual |
call this in loop() since some forms of measurement may need to be constantly polled
Implemented in TachometerJEncoder.