com.datalogic.extension.selfshopping.led.DimmingLed |
Interface exposing the API of a dimming LED.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set a specific LED brightness.
| |||||||||||
Starts the specified dimming sequence, constituted of a
series of (time, brightness) pairs.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.datalogic.extension.selfshopping.led.Led
|
Set a specific LED brightness.
brightness | A brightness value (in percentage). |
---|
Starts the specified dimming sequence, constituted of a series of (time, brightness) pairs. The brightness will be calculated by interpolating between the time intervals, in order to have a smooth dimming of the LED. The sequence will repeat for the specified number of cycles.
numCycles | The number of dimming cycles to execute (-1 = infinite). |
---|---|
sequence | The DimmingSequence to start.
|