capacitor-plugin-ledcontrol
TypeScript icon, indicating that this package has built-in type declarations

1.5.3 • Public • Published

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
Param Type
options LEDControlPluginOptions

stopFlashBothLED()

stopFlashBothLED() => void

turnOnRedLED(...)

turnOnRedLED(options?: LEDControlPluginOptions | undefined) => void
Param Type
options LEDControlPluginOptions

turnOffRedLED()

turnOffRedLED() => void

turnOnBlueLED(...)

turnOnBlueLED(options?: LEDControlPluginOptions | undefined) => void
Param Type
options LEDControlPluginOptions

turnOffBlueLED()

turnOffBlueLED() => void

isRedLightOn()

isRedLightOn() => Promise<boolean>

Returns: Promise<boolean>


isBlueLightOn()

isBlueLightOn() => Promise<boolean>

Returns: Promise<boolean>


Interfaces

LEDControlPluginOptions

Prop Type
text string
offset number

Readme

Keywords

Package Sidebar

Install

npm i capacitor-plugin-ledcontrol

Weekly Downloads

3

Version

1.5.3

License

MIT

Unpacked Size

58.5 kB

Total Files

30

Last publish

Collaborators

  • realashleybailey