Gabriel M, could you tell me the Name and where you got your 4" display and what drivers? I'm looking for one to connect to a Teensy 4.1
Thanks!
Here is the specific display I have:
Product Link (Amazon)
For drivers/libraries for the display you have options. I personally use the Adafruit_GFX and the Adafruit_ST7796S_kbv libraries, these work and are super fast. Note, these are only for writing to the display, like drawing shapes, lines, writing text, etc. I have not gotten to the touchscreen libraries yet. Your second option for display libraries is going to Hosyond's website and downloading their .ZIP file that contains example code for both writing to the display, and touchscreen examples. In Hosyond's .ZIP file, they include examples for different boards and the .zip files for the drivers, so you don't need to search the internet for the proper drivers.
Recommend drivers/libraries:
Library 1:
Adafruit_GFX
Library 2:
Adafruit_ST7796S_kbv
You need both libraries to properly be able to write to your display. (Assuming you use the display I linked in the beginning)
Option 2:
Hosyond Website
Look on the left of your screen and find "Program Download", press that, then download the .zip file.
The display is a 4.0 inch, capacitive touch screen display. It uses the ST7796S display driver and a separate touchscreen driver which I believe is the FT6336. This display can handle multiple touch inputs and uses a standard SPI connection interface, meaning you need MOSI, MISO, SCK, SDL pins, which I am sure you understand that. This display also sports a micro-SD card slot, and inside Hosyond's example .zip file, they have working code examples for that, which I have tested code examples they provide for the display, touchscreen, and micro-SD card slot, and I can confirm they work properly.