Handles IO communication for a digital pin. Only allows write.
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
Unsupported operation, throws an error.
Writes on the digital pin. This function will throw an error if the written value is not 0 or 1.
Generated using TypeDoc
Handles IO communication for a digital pin. Only allows write.
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.