adds infos about controlling the backlight
This commit is contained in:
parent
a59e0c28cf
commit
de622fe640
11
README.md
11
README.md
@ -124,5 +124,16 @@ If you like to change the default, just edit the ```fbdash.timer``` file before
|
||||
Wed 2022-05-04 14:16:10 CEST 28s left Wed 2022-05-04 14:15:10 CEST 31s ago fbdash.timer fbdash.service
|
||||
...
|
||||
|
||||
## Controlling the backlight
|
||||
It's a bit counterintuitive but according to [Notro's wiki](https://github.com/notro/fbtft/wiki/Backlight) you can control the backlight like this (tested, works!):
|
||||
|
||||
Write a "1" to turn it **off**
|
||||
|
||||
echo 1 | sudo tee /sys/class/backlight/fb_ili9341/bl_power
|
||||
|
||||
and a "0" to turn it **on**
|
||||
|
||||
echo 0 | sudo tee /sys/class/backlight/fb_ili9341/bl_power
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user