Remarks

Ky038
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.Sensors.Sound.Ky038

Code Example

Ky038 sensor;

public override Task Initialize()
{
    Console.WriteLine("Initialize...");

    sensor = new Ky038(Device, Device.Pins.A00, Device.Pins.D10);

    return Task.CompletedTask;
}

public override Task Run()
{
    return Task.CompletedTask;
}

Sample project(s) available on GitHub

Characteristic Locus
Inheritance System.Object > Ky038
Namespace Meadow.Foundation.Sensors.Sound
Assembly Ky038.dll

Syntax

public class Ky038 : object

Constructors

Ky038(IAnalogInputPort, IDigitalInputPort)

Declaration
public Ky038(IAnalogInputPort analogPort, IDigitalInputPort digitalInputPort)

Parameters

Type Name Description
IAnalogInputPort analogPort
IDigitalInputPort digitalInputPort

Ky038(IMeadowDevice, IPin, IPin)

Declaration
public Ky038(IMeadowDevice device, IPin A0, IPin D0)

Parameters

Type Name Description
IMeadowDevice device
IPin A0
IPin D0

Fields

analogPort

Declaration
protected IAnalogInputPort analogPort

Field Value

Type Description
IAnalogInputPort

digitalInputPort

Declaration
protected IDigitalInputPort digitalInputPort

Field Value

Type Description
IDigitalInputPort