1.5.3 • Published 2 years ago

capacitor-plugin-ledcontrol v1.5.3

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

capacitor-plugin-ledcontrol

LED Control for Citaq H10-2

Install

npm install capacitor-plugin-ledcontrol
npx cap sync

API

startFlashBothLED(...)

startFlashBothLED(options?: LEDControlPluginOptions | undefined) => void
ParamType
optionsLEDControlPluginOptions

stopFlashBothLED()

stopFlashBothLED() => void

turnOnRedLED(...)

turnOnRedLED(options?: LEDControlPluginOptions | undefined) => void
ParamType
optionsLEDControlPluginOptions

turnOffRedLED()

turnOffRedLED() => void

turnOnBlueLED(...)

turnOnBlueLED(options?: LEDControlPluginOptions | undefined) => void
ParamType
optionsLEDControlPluginOptions

turnOffBlueLED()

turnOffBlueLED() => void

isRedLightOn()

isRedLightOn() => Promise<boolean>

Returns: Promise<boolean>


isBlueLightOn()

isBlueLightOn() => Promise<boolean>

Returns: Promise<boolean>


Interfaces

LEDControlPluginOptions

PropType
textstring
offsetnumber
1.5.3

2 years ago

1.5.0

2 years ago

1.1.0

2 years ago