สั่งปิด/เปิดหน้าจอ raspberry pi ด้วย command line
ปิด
DISPLAY=:0 xset dpms force off
เปิด
DISPLAY=:0 xset dpms force on
ปิด
DISPLAY=:0 xset dpms force off
เปิด
DISPLAY=:0 xset dpms force on
Becareful with breakout kit direction (see picture)
Wiring for TFT 2.2” screen and Raspberry Pi B+ and 2
MISO – MISO
LED – GPIO18 (#18)
SCK – SCLK
MOSI – MOSI
DC/RS – GPIO 24 (#24)
RESET – GPIO 25 (#25)
CS – CE0
GND – GND
VCC – 3.3V
To start GUI for TFT Screen when everything is done: sudo FRAMEBUFFER=/dev/fb1 startx — -dpi 60