intval3/lib/onoffsim
mmcwilliams aadf6aef37 Remove extra function name from docs
jsdoc does this well enough without repeating. Does not actually
improve readability in code
2017-09-19 15:23:48 -04:00
..
Readme.md Remove extra function name from docs 2017-09-19 15:23:48 -04:00
index.js Remove extra function name from docs 2017-09-19 15:23:48 -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