Handles IO communication for a digital pin. Only allows read.
The pin should be given in the parameters in the field 'pin'.
Note: this class requires the mraa npm library to be installed on the board.
mraa
Returns the value of the digital pin.
Unsupported operation, throws an error.
Generated using TypeDoc
Handles IO communication for a digital pin. Only allows read.
The pin should be given in the parameters in the field 'pin'.
Note: this class requires the
mraa
npm library to be installed on the board.