upm
0.5.1
Sensor/Actuator repository for libmraa (v0.9.1)
|
API for the Grove Collision Sensor. More...
The Grove Collision Sensor can detect whether any collision movement or vibration happens. It outputs a low pulse signal when vibration is detected.
Public Member Functions | |
GroveCollision (int pin) | |
~GroveCollision () | |
bool | isColliding () |
GroveCollision | ( | int | pin | ) |
Grove collision sensor constructor
pin | Digital pin to use |
~GroveCollision | ( | ) |
GroveCollision destructor
bool isColliding | ( | ) |