capacitor-gpio-rk
v0.0.2
Published
Controlador para placa rk3588 para control de puertos GPIO
Downloads
1
Readme
capacitor-rk3588-gpio
Controlador para placa rk3588 para control de puertos GPIO
Install
npm install capacitor-rk3588-gpio
npx cap sync
API
setGpioOutput(...)
setGpioOutput(options: { gpio: string; value: boolean; }) => Promise<void>
| Param | Type |
| ------------- | ---------------------------------------------- |
| options
| { gpio: string; value: boolean; } |
getGpioInput(...)
getGpioInput(options: { gpio: string; }) => Promise<{ value: boolean; }>
| Param | Type |
| ------------- | ------------------------------ |
| options
| { gpio: string; } |
Returns: Promise<{ value: boolean; }>
getDeviceId()
getDeviceId() => Promise<{ macAddress: string; }>
Returns: Promise<{ macAddress: string; }>