micro-ELC
Measurement.h
Go to the documentation of this file.
1#ifndef MEASUREMENT_H
2#define MEASUREMENT_H
7public:
12 virtual float getMeasurement() = 0;
16 virtual void run() = 0;
17};
18#endif
Defines an interface for measuring the frequency, rotational speed, or voltage of a generator to use ...
Definition: Measurement.h:6
virtual float getMeasurement()=0
Use this method to get the most recent measurement on the speed of the generator.
virtual void run()=0
call this in loop() since some forms of measurement may need to be constantly polled