Differences
This shows you the differences between two versions of the page.
en:xu4_cloudshell_lcd_backlight [2015/12/24 08:24] brian.kim created |
en:xu4_cloudshell_lcd_backlight [2015/12/24 09:48] (current) brian.kim [Backlight control outside of FBTFT] |
||
---|---|---|---|
Line 23: | Line 23: | ||
Wiring Pi can be used to dim the backlight. | Wiring Pi can be used to dim the backlight. | ||
<code> | <code> | ||
- | gpio -g mode 18 pwm | + | sudo gpio mode 7 write |
- | gpio -g pwm 18 1023 | + | # Turn Off LCD backlight |
+ | sudo gpio write 7 0 | ||
+ | # Turn On LCD backlight | ||
+ | sudo gpio write 7 1 | ||
</code> | </code> | ||
====== References ====== | ====== References ====== | ||
* [[https://github.com/notro/fbtft/wiki/Backlight|Backlight]] | * [[https://github.com/notro/fbtft/wiki/Backlight|Backlight]] |