Louie NRT Story

[Raspberry Pi] Back light 본문

에너지

[Raspberry Pi] Back light

hyeok0724.kim@gmail.com 2019. 11. 6. 10:57
반응형

Writed on 06 NOV 2019
Device: Raspberry Pi 3
Raspbian Version: 2019-09-26-raspbian-buster-full.zip

 

1. Control screen ON of OFF

 - echo 0 mean Display ON

 - echo 1 mean Display OFF

 

Reference: https://scribles.net/controlling-display-backlight-on-raspberry-pi/

 

Controlling Display Backlight on Raspberry Pi

This is how to turn on and off backlight on Raspberry Pi for the official 7-inch touchscreen display and HDMI displays using command-line interface (CLI). I checked it with Raspberry Pi 3 B+ running Raspbian Stretch (September 2017 version) + official 7″ d

scribles.net

2. Control screen with rpi-backlight

 1) Install rpi-backlight

 2). Create this udev rule to update permissions, otherwise you'll have to run python code, the GUI and CLI as root when changing the power or brightness

echo 'SUBSYSTEM=="backlight",RUN+="/bin/chmod 666 /sys/class/backlight/%k/brightness /sys/class/backlight/%k/bl_power"' sudo tee -a /etc/udev/rules.d/backlight-permissions.rules

 3) example of controling brightness

Reference:

 - https://github.com/linusg/rpi-backlight

 

linusg/rpi-backlight

A Python module for controlling power and brightness of the official Raspberry Pi 7" touch display - linusg/rpi-backlight

github.com

 - http://blog.naver.com/PostView.nhn?blogId=bieemiho92&logNo=221023148678&redirect=Dlog&widgetTypeCall=true

 

[라즈베리파이] 7인치 터치스크린 백라이트 제어하기

들어가며필자가 방구석 서버로 굴리는 파이에는 공식 7인치 터치스크린이 부착되어 있다. 뭐 그냥 가지고 ...

blog.naver.com

 

반응형

'에너지' 카테고리의 다른 글

[Raspberry Pi] Hidden mouse point on screen  (0) 2019.11.06
[Raspberry Pi] LXPanel(taskbar)  (0) 2019.11.06
[Raspberry Pi] LDXE among of x11 GUI program  (0) 2019.11.06
[Raspberry Pi] Wallpaper  (0) 2019.11.06
[Raspberry Pi] xscreensaver  (0) 2019.11.06
Comments