-
Notifications
You must be signed in to change notification settings - Fork 1
infoLED module
doomke edited this page Jun 14, 2023
·
10 revisions
Based on a Neopixel LED or LED chain a basic feedback element is created, making simple information like connection status or motor states accessible to users by color and sequence of the LEDs.
| setting | type | range | description |
|---|---|---|---|
| pin | integer | > 0 | number of the pin the LED is connected to |
| pixel | integer | > 0 | number of pixels the LED chain holds |
| key | type | range | description |
|---|---|---|---|
| hold | boolean | -- | keep the LEDs on after a timed pattern has expired if set to true; false will instantly turn off all LEDs |
| color | String | -- | specify the color to be displayed[1] |
| const | integer | ≥ 0 | turn on all LEDs for the specified time (in ms) |
| pulse | integer | ≥ 0 | all LEDs pulse in intensity for the specified time (in ms) |
| cycle | integer | ≥ 0 | successively turn on all LEDs; all LEDs are on after the specified time (in ms) |
-
↑formated as HTML color string (e.g.
#FF00FFrepresents magenta). Colors are converted to HSV color space. Note that the value (brightness) is discarded and replaced with a default to obtain a uniform look and avoid overly bright LEDs
This module does not provide a status.
This module is passive and does not emit events.