Created
April 18, 2016 02:25
-
-
Save drewcassidy/f61b7613aaa16a47740cb433d63feb3d to your computer and use it in GitHub Desktop.
bash script to set the raspberry pi 7" LCD backlight. takes 1 argument from 0 to 255. place in /usr/bin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo $1 > /sys/class/backlight/rpi_backlight/brightness |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment