Jump to content

Fit display size on ILI9341 TFT LCD


Jarod Adolfo

Recommended Posts

Connect to your Armbian device via SSH or access its command line interface.

Open the /boot/armbianEnv.txt file using a text editor. You can use the nano editor by running the following command:

sudo nano /boot/armbianEnv.txt
Look for the line that starts with disp_mode or extraargs. If you find extraargs, add disp_mode after it. Modify the line to include the appropriate display resolution. For example: extraargs=fbcon=map:10 console=ttyS0,115200 disp_mode=320x240

Save the changes and exit the text editor. In nano, you can press Ctrl + O to save and Ctrl + X to exit.

Reboot your Armbian device for the changes to take effect. You can do this by running: sudo reboot

After the reboot, the display resolution should be adjusted to fit your TFT LCD.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines