Edit

Share via


DigitalInput Class

Definition

DigitalInput is a generic calss for digital input

public class DigitalInput
type DigitalInput = class
Public Class DigitalInput
Inheritance
DigitalInput
Derived

Constructors

DigitalInput(GrovePi, GrovePort)

DigitalInput constructor

Properties

Port

grove sensor port

SensorName

Get the name Digital Input

SupportedPorts

Only Digital ports including the analog sensors (A0 = D14, A1 = D15, A2 = D16)

Value

Get the pin level, either high either low

Methods

ToString()

Returns the value as a string

Applies to