|
upm
0.3.2
Sensor/Actuator repository for libmraa (v0.7.2)
|
API for the Grove Button. More...
Basic UPM module for the Grove button
Public Member Functions | |
| GroveButton (unsigned int pin) | |
| ~GroveButton () | |
| std::string | name () |
| int | value () |
Public Member Functions inherited from Grove | |
| std::string | name () |
Additional Inherited Members | |
Protected Attributes inherited from Grove | |
| std::string | m_name |
| GroveButton | ( | unsigned int | pin | ) |
Grove button constructor
| gpio | Pin to use |
| ~GroveButton | ( | ) |
Grove button destructor
| std::string name | ( | ) |
Gets the name of the sensor
| int value | ( | ) |
Gets the value from the GPIO pin


1.8.9.1