Guest Rdogg112 Posted May 13, 2012 Report Posted May 13, 2012 (edited) I've been looking for how to control the LEDs on our blade for quite some time now, and, since I didn't find anything, I decided to try myself and succeeded. Heres the How-to: 1. Install the Android SDK(Or just ADB) 2. Run "adb shell" 3. Run any of these commands: Activate Backlight-leds(White): echo 255 > /sys/class/leds/button-backlight/brightness Deactivate(White) echo 0 > /sys/class/leds/button-backlight/brightness Activate Red leds: echo 255 > /sys/class/leds/red/brightness Deactivate echo 0 > /sys/class/leds/red/brightness Blink: echo 1 > /sys/class/leds/red/blink echo 0 > /sys/class/leds/red/blink Activate Green leds: echo 255 > /sys/class/leds/green/brightness Deactivate echo 0 > /sys/class/leds/green/brightness Blink: echo 1 > /sys/class/leds/red/blink echo 0 > /sys/class/leds/red/blink Just a little tip: If you want to control the green or red led, you have to "deactivate"(Turn off brightness) of the White ones.. Edited May 13, 2012 by Rdogg112
Guest shmizan Posted May 13, 2012 Report Posted May 13, 2012 never a yellow. always been red, another shade of red and green
Guest Rdogg112 Posted May 13, 2012 Report Posted May 13, 2012 Yeah, wbaw told me that the Amber/yellow is just Red + Green
Guest eLJay Posted May 14, 2012 Report Posted May 14, 2012 If its RGB then theoretically it should run this...? Activate Blue leds: echo 255 > /sys/class/leds/blue/brightness Deactivate echo 0 > /sys/class/leds/blue/brightness Blink: echo 1 > /sys/class/leds/blue/blink echo 0 > /sys/class/leds/blue/blink
Guest Rdogg112 Posted May 14, 2012 Report Posted May 14, 2012 If its RGB then theoretically it should run this...? Activate Blue leds: echo 255 > /sys/class/leds/blue/brightness Deactivate echo 0 > /sys/class/leds/blue/brightness Blink: echo 1 > /sys/class/leds/blue/blink echo 0 > /sys/class/leds/blue/blink It's not an RGB Led, there are only 3 seperate LEDs, White, Green and Red.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now