intval3/lib/onoffsim
mmcwilliams e3393e6e7d Add documentation to onoffsim 2017-09-17 15:20:38 -04:00
..
Readme.md Add documentation to onoffsim 2017-09-17 15:20:38 -04:00
index.js Add documentation to onoffsim 2017-09-17 15:20:38 -04:00

Readme.md

onoffsim

Object representing a fake onoff Gpio class

Kind: global constant

onoffsim.Gpio(no, dir, additional) ⇒ object

Gpio() - Create's a Gpio class in the case of running on a dev machine

Kind: static method of onoffsim
Returns: object - Fake Gpio object

Param Type Description
no integer Number of the GPIO pin
dir string Dirction of the pin, 'input' or 'output'
additional string Additional instructions for the GPIO pin, for 'input' type