ml-gpio
v0.0.3
Published
The gpio package for Microlattice.js
Downloads
1
Readme
ml-gpio
Required
- ml-pinmux
API
/* Read api */
__gpioRead(
pin, // nubmer
method, // string, pullup or pulldown
)
/* Write api */
__gpioWrite(
pin, // nubmer
value, // number
)
Example
__pinmux(35, 8);
__gpioWrite(35, 0);