0.0.2 • Published 2 years ago

capacitor-gpio-rk v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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>
ParamType
options{ gpio: string; value: boolean; }

getGpioInput(...)

getGpioInput(options: { gpio: string; }) => Promise<{ value: boolean; }>
ParamType
options{ gpio: string; }

Returns: Promise<{ value: boolean; }>


getDeviceId()

getDeviceId() => Promise<{ macAddress: string; }>

Returns: Promise<{ macAddress: string; }>


0.0.2

2 years ago

0.0.1

2 years ago