Raspberry Pi Official Touch Screen

From ipswichmakerspace
Revision as of 21:26, 4 November 2015 by Vwillcox (Talk) (Created page with "In 2015 the Raspberry Pi foundation brought out an official 7" touch screen device that uses the DSI interface. This entry will describe several uses and tips. ===Switch the...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In 2015 the Raspberry Pi foundation brought out an official 7" touch screen device that uses the DSI interface.

This entry will describe several uses and tips.

Switch the backlight

pi@raspberrypi ~ $ uname -a
Linux raspberrypi 4.1.12-v7+ #824 SMP PREEMPT Wed Oct 28 16:46:35 GMT 2015 armv7l GNU/Linux

If you have an older version you can upgrade:

sudo rpi-update

When finished reboot.

off:
echo 1 > /sys/class/backlight/rpi_backlight/bl_power
on
echo 0 > /sys/class/backlight/rpi_backlight/bl_power

If you get permission errors

sudo chmod 777 /sys/devices/platform/rpi_backlight/backlight/rpi_backlight/bl_power