|
Data Gator
Hardware and software documentation for the Data Gator project.
|
Overrides the interface provided by pHSensor.hpp for a generic analog pH sensor. More...
#include <GenericPH.hpp>


Public Member Functions | |
| double | getpH (double voltage) |
| Convert voltage reading to pH value. | |
| std::string | getSensorType () |
| Get identifier string for debugging. | |
| std::string | toJSON (double voltage) |
| Converts voltage reading to JSON object for debugging and data collection. | |
Private Attributes | |
| const double | MIN_V = 0 |
| const double | MAX_V = 3.33 |
Overrides the interface provided by pHSensor.hpp for a generic analog pH sensor.
|
inlinevirtual |
|
inlinevirtual |
Converts voltage reading to JSON object for debugging and data collection.
Reimplemented from pHSensor.