touch
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| touch [2017/05/19 07:52] – noone | touch [2017/10/16 23:43] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | ====Raspberry Pi 3.5 inch LCD==== | ||
| + | |||
| + | **Rotate display** | ||
| + | sudo nano / | ||
| + | Change the parameter as follow:\\ | ||
| + | (Rotate 90) | ||
| + | dtoverlay=waveshare35a -> dtoverlay=waveshare35a: | ||
| + | (Rotate 180) | ||
| + | dtoverlay=waveshare35a -> dtoverlay=waveshare35a: | ||
| + | (Rotate 270) | ||
| + | dtoverlay=waveshare35a -> dtoverlay=waveshare35a: | ||
| + | |||
| + | **Rotate touch** | ||
| + | sudo nano / | ||
| + | Press the keyboard “Ctrl + X” ,then choice “Y”, Press the ”Enter” exit.\\ | ||
| + | Change as follow:\\ | ||
| + | (Rotate 90) | ||
| + | Section " | ||
| + | Identifier " | ||
| + | MatchProduct " | ||
| + | Option " | ||
| + | Option " | ||
| + | EndSection | ||
| + | (Rotate 180) | ||
| + | Section " | ||
| + | Identifier " | ||
| + | MatchProduct " | ||
| + | Option " | ||
| + | Option " | ||
| + | EndSection | ||
| + | (Rotate 270) | ||
| + | Section " | ||
| + | Identifier " | ||
| + | MatchProduct " | ||
| + | Option " | ||
| + | Option " | ||
| + | EndSection | ||
| + | Press the keyboard “Ctrl + X” ,then choice “Y”, Press the ”Enter” exit. | ||
| + | On the Terminal, enter | ||
| + | sudo reboot | ||
| + | |||
| + | |||
| + | ===Aus GitHub=== | ||
| + | |||
| + | Here are the steps that I took to get it working. The screen should start working at step 5 when you do the test. | ||
| + | |||
| + | 1.Expand the filesystem | ||
| + | |||
| + | sudo raspi-config | ||
| + | |||
| + | 2.Change fb0 to fb1 | ||
| + | |||
| + | sudo nano / | ||
| + | |||
| + | 3.Enable SPI if needed | ||
| + | |||
| + | # remove or comment out the spi blacklist line | ||
| + | sudo nano / | ||
| + | |||
| + | 4.FBTFT drivers as loadable modules | ||
| + | |||
| + | sudo REPO_URI=https:// | ||
| + | sudo reboot | ||
| + | |||
| + | 5.Test | ||
| + | |||
| + | sudo modprobe flexfb | ||
| + | sudo modprobe fbtft_device debug=3 rotate=90 name=flexfb speed=16000000 gpios=reset: | ||
| + | |||
| + | 6.Perminantly add Driver | ||
| + | |||
| + | #Add to file / | ||
| + | | ||
| + | | ||
| + | |||
| + | 7.Additional settings | ||
| + | |||
| + | # | ||
| + | | ||
| + | |||
| + | # | ||
| + | | ||
| + | |||
| + | [[https:// | ||
