rpi-backlight
rpi-backlight copied to clipboard
🔆 A Python module for controlling power and brightness of the official Raspberry Pi 7" touch display
Hi Linus, On my Pi4, I am able to successfully fade with a duration with `rpi-backlight -b 0 -d 3`. However, I cant power on/off with a duration `rpi-backlight -p...
Running: Raspberry Pi 4 Model B Rev 1.4, Debian GNU/Linus 11 (bullseye), aarch64. Attached: Raspberry Pi 7" Touchscreen Display Problem: cmdline rpi-backlight -b 50 returns "Permission Error". Reason: /sys/class/backlight/10-0045/brightness is...
If the screen is on and the command power off is sent, the screen is back to the former brightness when turned on again. For example: ``` // Brightness 20%...
try the following from rpi_backlight import Backlight ```python backlight = Backlight() backlight.fade_duration = 0.5 backlight.brightness = 0 -- works as expected backlight.brightness = 10 -- works as expected backlight.brightness =...
I've just installed my official raspberry pi touchscreen onto my new raspberry pi 5. I kept getting this error: ``` pi@rpi5:~ $ rpi-backlight -b 100 Traceback (most recent call last):...
Hi there. Relative newbie here. Thanks for this app, it's just what I needed, but I was wondering if there was a way of making a hardware non latching switch...
Added icon from Adwaita, which is present in default installation in bookworm and bullseye
Added 4-0045, 6-0045 alongside 10-0045 as per suggestion from [c899173-1024](https://github.com/c899173-1024)
My apologies if I am being a numpty... I wanted to control the backlight on my RaspberryPi 4 running bookworm. I ran the following in my virtual environment: `pip3 install...