DigitalInput 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.
DigitalInput is a generic calss for digital input
C#
public class DigitalInput
type DigitalInput = class
Public Class DigitalInput
- Inheritance
-
DigitalInput
- Derived
Digital |
DigitalInput constructor |
Port |
grove sensor port |
Sensor |
Get the name Digital Input |
Supported |
Only Digital ports including the analog sensors (A0 = D14, A1 = D15, A2 = D16) |
Value |
Get the pin level, either high either low |
To |
Returns the value as a string |
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 |