Controlador para placa rk3588 para control de puertos GPIO
npm install capacitor-rk3588-gpio
npx cap sync
setGpioOutput(options: { gpio: string; value: boolean; }) => Promise<void>
Param | Type |
---|---|
options |
{ gpio: string; value: boolean; } |
getGpioInput(options: { gpio: string; }) => Promise<{ value: boolean; }>
Param | Type |
---|---|
options |
{ gpio: string; } |
Returns: Promise<{ value: boolean; }>
getDeviceId() => Promise<{ macAddress: string; }>
Returns: Promise<{ macAddress: string; }>