SoundSensor Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
SoundSensor class to support analogic microphone sensors
C#
public class SoundSensor : Iot.Device.GoPiGo3.Sensors.AnalogSensor
type SoundSensor = class
inherit AnalogSensor
Public Class SoundSensor
Inherits AnalogSensor
- Inheritance
Sound |
Creates a new instance of SoundSensor. |
Max |
The maximum ADC value 4095 for GoPiGo3 (Inherited from AnalogSensor) |
Port |
Get the Grove Port (Inherited from AnalogSensor) |
Sensor |
Get the sensor name "Sound Sensor" |
Value |
Get the value of the sensor from 0 to MaxAdc (Inherited from AnalogSensor) |
Value |
Get the read value as a percentage from 0 to 100 (Inherited from AnalogSensor) |
To |
Get the value as a string (Inherited from AnalogSensor) |
Product | Versions |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |