From de622fe640dcf745a6e64b2f0157d6fe68f5e2fc Mon Sep 17 00:00:00 2001 From: Florian Klemenz Date: Thu, 5 May 2022 12:39:03 +0200 Subject: [PATCH] adds infos about controlling the backlight --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 95f9671..94d4e52 100644 --- a/README.md +++ b/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 +