Method DigitalRead
DigitalRead(int)
Reads the current state of the specified digital input pin.
public bool DigitalRead(int pin)
Parameters
pin
intThe number of the digital pin to read.
Reads the current state of the specified digital input pin.
public bool DigitalRead(int pin)
pin
intThe number of the digital pin to read.