LED#
Introduction#
The LED Bumper can detect when it is pressed and can change its color or pattern to provide visual feedback.
Below is a list of all available blocks:
set LED color – Set the LED Bumper to a selected color.
set LED brightness – Set the LED Bumper to a specific brightness.
bumper pressed? – Returns a Boolean indicating if the LED Bumper was pressed.
set LED color#
The set LED color block sets the color of the LED Bumper.
establecer de [LEDBumper 1 v] a [rojo v]
Parameters |
Description |
---|---|
LED |
The selected LED Bumper to change the color of, configured in the Devices window. |
color |
The color to set the LED Bumper to:
|
Example
Example coming soon!
set LED brightness#
The set LED brightness block sets the brightness of the LED Bumper.
Establezca el brillo [LEDBumper 1 v] al (50)%
Parameters |
Description |
---|---|
LED |
The selected LED Bumper to change the brightness of, configured in the Devices window. |
brightness |
The new brightness to set the LED Bumper to from 0% to 100%. |
Example
Example coming soon!
bumper pressed?#
The bumper pressed? block returns a Boolean indicating whether or not the LED Bumper was pressed.
True – The LED Bumper was pressed.
False – The LED Bumper was not pressed.
<[LEDBumper 1 v] presionado?>
Parameters |
Description |
---|---|
LED |
The selected LED Bumper to check, configured in the Devices window. |
Example
Example coming soon!