The rotation command under Raspbian-lite is as follows: #If it is a new version, execute the following code: #If it is an old version, execute the following code: ![]() Indicates that the LCD rotates 0 degrees, 90 degrees, 180 degrees and 270 degrees, respectively. Then insert the card to your Pi, power up and enjoy it.Īfter installing the touch driver, you can modify the screen rotation direction by running the following commands. Write the image to your micro SD card (How to write an image to a micro SD card for your Pi? See RPi Image Installation Guides for more details). The image file with pre-installed driver is located in the IMAGE directory of the CD, or you can download it from #Image. Using with Raspbian-lite, the command of the touch driver installation should be: In this case, you need to edit the config.txt file in the SD card and delete this sentence: dtoverlay=ads7846. Executing apt-get upgrade will cause the LCD to fail to work properly. For ease of use, you can set the screen orientation, see: #Screen orientation settings. The touch function will work after restart. Note: The Raspberry Pi must be connected to the network, or else the touch driver won't be successfully installed. The LCD will display after booting up, and then log in to the Raspberry Pi terminal,(You may need to connect a keyboard and HDMI LCD to Pi for driver installing, or log in remotely with SSH)Ĥ) Then open the terminal of Raspberry Pi to install the touch driver. ( How to write an image to a micro SD card for your Pi? See RPi Image Installation Guides for more details)ģ) Connect the TF card to the Raspberry Pi, start the Raspberry Pi. img file.Ģ) Connect the TF card to the PC, open the Win32DiskImager software, select the system image downloaded in step 1 and click‘Write’ to write the system image. (Raspbian/Ubuntu Mate/Kali or Retropie)ġ) Download the compressed image file to the PC, and unzip it to get the. Please download the latest version of the image on the Raspberry Pi official website. use the Ready-to-use image file of which LCD driver was pre-installed. The RPi LCD can be driven in two ways: Method 1. There are 40 pins on Raspberry Pi, but there are 26 pins on the LCD, so you should pay attention to connecting the pins to your Pi accordingly.4 Control Backlight Brightness with GPIO.
0 Comments
Leave a Reply. |