intval3/lib/onoffsim
mmcwilliams ceb961ebd6 Add unexport function to onoffsim GPIO object 2017-09-25 23:26:47 -04:00
..
Readme.md Remove extra function name from docs 2017-09-19 15:23:48 -04:00
index.js Add unexport function to onoffsim GPIO object 2017-09-25 23:26:47 -04:00

Readme.md

onoffsim

Object representing a fake onoff Gpio class

Kind: global constant

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

Returns 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