|
upm
0.2.0
Sensor/Actuator repository for libmraa (v0.6.1)
|
C++ API for Grove button. More...
Very basic UPM module for 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 | ( | ) |
Get name of sensor
| int value | ( | ) |
Get value from GPIO pin


1.8.9.1