Ligne 1 : |
Ligne 1 : |
| {{RASP-PiTFT-NAV}} | | {{RASP-PiTFT-NAV}} |
| | | |
| + | {{ADFImage|RASP-PiTFT-01.jpg|480px}} |
| + | |
| + | One fun thing you can do with the display is have it as your main console instead of the HDMI/TV output. Even though it is small, with a good font you can get 20 x 40 of text. For more details, check out [https://github.com/notro/fbtft/wiki/Boot-console https://github.com/notro/fbtft/wiki/Boot-console] |
| + | |
| + | First up, we'll update the boot configuration file to use the TFT framebuffer '''/dev/fb1''' instead of the HDMI/TV framebuffer /dev/fb0 |
| + | |
| + | sudo nano /boot/cmdline.txt |
| + | |
| + | you can also edit it by putting the SD card into a computer and opening the same file. |
| + | |
| + | At the end of the line, find the text that says '''rootwait''' and right after that, enter in: |
| + | |
| + | '''fbcon=map:10 fbcon=font:VGA8x8''' then save the file. |
| + | |
| + | {ambox|text=Note that the kernel has to load up the display driver module before it can display anything on it so you won't get the rainbow screen, a NooBs prompt, or a big chunk of the kernel details since the module is loaded fairly late in the boot process.}} |
| + | |
| + | {{ADFImage|RASP-PiTFT-Console-01.png}} |
| + | |
| + | I think the VGA8x8 font is a bit chunky, you probably want 12x6 which is what is shown in the photo above. To change the font, run '''sudo dpkg-reconfigure console-setup''' and go thru to select Terminus 6x12 |
| + | |
| + | {{ADFImage|RASP-PiTFT-Console-10.png}} |
| + | |
| + | {{ADFImage|RASP-PiTFT-Console-11.png}} |
| + | |
| + | {{ADFImage|RASP-PiTFT-Console-13.png}} |
| + | |
| + | {{ADFImage|RASP-PiTFT-Console-13.png}} |
| | | |
| {{RASP-PiTFT-TRAILER}} | | {{RASP-PiTFT-TRAILER}} |