pyupm_ldt0028 module

class pyupm_ldt0028.LDT0028(pin)[source]

Bases: object

API for LDT0-028 PZT film-based sensors, such as a Grove Piezo Vibration sensor.

ID: ldt0028

Name: Piezo Vibration Sensor

Other Names: Grove Piezo Vibration Sensor

Category: flexfor

Manufacturer: seeed

Connection: analog

Link:http://wiki.seeed.cc/Grove-Piezo_Vibration_Sensor/ This module defines the LDT0-028 interface for libupm-ldt0028

C++ includes: ldt0028.hpp

getSample()[source]

int getSample()

Returns one sample from this sensor

One value from this sensor

name()[source]

std::string name()

Returns the name of this sensor

Name of this sensor