|
upm
0.4.0
Sensor/Actuator repository for libmraa (v0.8.0)
|
API for the Grove Temperature Sensor. More...
Basic UPM module for the Grove temperature sensor on analog
Public Member Functions | |
| GroveTemp (unsigned int pin) | |
| ~GroveTemp () | |
| float | raw_value () |
| int | value () |
Public Member Functions inherited from Grove | |
| std::string | name () |
Additional Inherited Members | |
Protected Attributes inherited from Grove | |
| std::string | m_name |
| GroveTemp | ( | unsigned int | pin | ) |
Grove analog temperature sensor constructor
| pin | Analog pin to use |
| float raw_value | ( | ) |
Gets the raw value from the AIO pin
| int value | ( | ) |
Gets the temperature in Celsius from the sensor


1.8.9.1