pyupm_grovecollision module

class pyupm_grovecollision.GroveCollision(pin)[source]

Bases: object

API for the Grove Collision Sensor.

Deprecated This class is being replaced by Collision

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.

C++ includes: grovecollision.hpp

isColliding()[source]

bool isColliding()

bool Defines whether something is colliding with sensor