LDT0028 Class
- 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
Methods
LDT0028
(
Number
-
pin
LDT0028 constructor
Parameters:
-
pin
NumberAIO pin where the sensor is connected
Returns:
Number:
name
()
String
Returns the name of this sensor
Returns:
String:
Name of this sensor
getSample
()
Number
Returns one sample from this sensor
Returns:
Number:
One value from this sensor