MicroPython ILI9341Display & XPT2046 Touch Screen Driver
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Chris 0912f56702 Add touch-screen rotation support, binary versions for MicroPython 1.24, and recipe to make them 5 months ago
fonts Add utility to convert FontEdit fonts. 1 year ago
images Add PBM (portable bitmap) demo 9 months ago
sketchup Add case SketchUp and STL files 5 years ago
utils Update img2rgb565.py docstring 7 months ago
.gitattributes Initial commit 5 years ago
.gitignore Add support for MicroPython built-in 8x8 font. 2 years ago
LICENSE Update LICENSE 5 years ago
Makefile Add touch-screen rotation support, binary versions for MicroPython 1.24, and recipe to make themImproved clock/time and file date handling 5 months ago
README.md Update README.md 11 months ago
demo_animated_sprite.py Update demo animated sprite. 10 months ago
demo_bouncing_boxes.py Revise demos to match video wiring 5 years ago
demo_circuitpython.py Initial commit 5 years ago
demo_clear.py Clean up display clear demo. 2 years ago
demo_color_palette.py Revise demos to match video wiring 5 years ago
demo_color_wheel.py Revise demos to match video wiring 5 years ago
demo_colored_squares.py Fix white in colored squares demo. 11 months ago
demo_fonts.py Revise demos to match video wiring 5 years ago
demo_fonts8x8.py Add simple touch demo. 2 years ago
demo_fonts8x8_bgcolor.py Add additional font8x8 demo for background color tests 7 months ago
demo_fonts_rotated.py Add 180 degree text rotation with demo 1 year ago
demo_images.py Revise demos to match video wiring 5 years ago
demo_inversion.py Add BGR and gamma options. 10 months ago
demo_mirror.py Add mirror option 7 months ago
demo_orientation.py Update orientation demo 4 years ago
demo_pbm.py Add PBM (portable bitmap) demo 9 months ago
demo_scrolling_marquee.py Revise demos to match video wiring 5 years ago
demo_sdcard.py Update demo_sdcard docstring 7 months ago
demo_shapes.py Revise demos to match video wiring 5 years ago
demo_sprite.py Revise demos to match video wiring 5 years ago
demo_touch.py Clean up comments 2 years ago
ili9341.mpy Add touch-screen rotation support, binary versions for MicroPython 1.24, and recipe to make themImproved clock/time and file date handling 5 months ago
ili9341.py Add touch-screen rotation support, binary versions for MicroPython 1.24, and recipe to make themImproved clock/time and file date handling 5 months ago
pwn_search.py Optimize code 5 years ago
touch_keyboard.py Refine keyboard screen selection 5 years ago
urequests2.mpy Add touch-screen rotation support, binary versions for MicroPython 1.24, and recipe to make themImproved clock/time and file date handling 5 months ago
urequests2.py Initial commit 5 years ago
xglcd_font.mpy Add touch-screen rotation support, binary versions for MicroPython 1.24, and recipe to make themImproved clock/time and file date handling 5 months ago
xglcd_font.py Add touch-screen rotation support, binary versions for MicroPython 1.24, and recipe to make themImproved clock/time and file date handling 5 months ago
xpt2046.mpy Add touch-screen rotation support, binary versions for MicroPython 1.24, and recipe to make them 5 months ago
xpt2046.py Add touch-screen rotation support, binary versions for MicroPython 1.24, and recipe to make them 5 months ago

README.md

micropython-ili9341

MicroPython ILI9341 Display and XPT2046 Touch Screen Drivers

Full write up on my website Rototron or click picture below for a YouTube video:

ILI9341 Tutorial

Tested on ESP32 (Wemos Lolin32 & Loline32 Pro)

Notes

  1. Use the img2rgb565.py tool located in the utils folder to change image files like JPEG and PNG into the required raw RGB565 format.
  2. The fonts available in this repository were made with a free conversion tool named GLCD Font Creator.