GroveCollision Class
- ID: grovecollision
- Name: Collision Sensor
- Category: accelerometer
- Manufacturer: seeed
- Connection: gpio
The Grove Collision Sensor can detect whether any collision movement or vibration happens. It outputs a low pulse signal when vibration is detected.
Item Index
Methods
Methods
GroveCollision
(
Number
-
pin
Grove collision sensor constructor
Parameters:
-
pin
NumberDigital pin to use
Returns:
Number:
isColliding
()
Boolean
Returns:
Boolean:
bool Defines whether something is colliding with sensor