-
Notifications
You must be signed in to change notification settings - Fork 0
04 LEDS
The board is provided with two RGB leds that you can easily control from the userspace.
cd /sys/class/leds
ls #you should see blue1, green1, red1,(for the first led) blue2, green2, red2 (for the second led) folders
There is no dimming (any value different from 0 turns on the led).
# All colors of led1 on
echo 255 > blue1/brightness
echo 255 > red1/brightness
echo 255 > green1/brightness
# All colors of led2 on
echo 255 > blue2/brightness
echo 255 > red2/brightness
echo 255 > green2/brightness
# All colors of led1 off
echo 0 > blue1/brightness
echo 0 > red1/brightness
echo 0 > green1/brightness
# All colors of led2 off
echo 0 > blue2/brightness
echo 0 > red2/brightness
echo 0 > green2/brightness
Install node-red on your board and from the palette manager install node-red-contrib-kitragti package.
Drag Set Leds Color node and set the parameters:
Index selects led 1 or led 2
Color is the RGB hexadecimal value
Products and specifications discussed herein are for reference purposes only. All information discussed herein is provided on an "AS IS" basis, without warranties of any kind. This document and all information discussed herein remain the sole and exclusive property of Rush Up. No license of any patent, copyright, mask work, trademark or any other intellectual property right is granted by one party to the other party under this document, by implication, estoppel or other-wise. Rush Up products are not intended for use in life support, critical care, medical, safety equipment, or similar applications where product failure could result in loss of life or personal or physical harm, or any military or defense application, or any governmental procurement to which special terms or provisions may apply. For updates or additional information about Rush Up products, contact Rush Up office. All brand names, trademarks and registered trademarks belong to their respective owners.