intval3/lib/onoffsim/Readme.md

662 B

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