/************************************************* ************************************************** *
//======================================== Power Wiring===== ===========================================//
//5V connect to DC 5V power supply
//GND ??ground
//====================================== LCD screen data line wiring ==== =====================================//
//The default data bus type of this module is 8-bit parallel mode
//8-bit mode wiring: 8-bit mode 9341 module is connected to the high 8-bit bus, namely:
//LCD_D0 corresponds to MCU P2.0
//LCD_D1 corresponds to MCU P2.1
//LCD_D2 corresponds to MCU P2.2
//LCD_D3 corresponds to MCU P2.3
//LCD_D4 corresponds to MCU P2.4
//LCD_D5 corresponds to MCU P2.5
//LCD_D6 corresponds to MCU P2.6
//LCD_D7 corresponds to MCU P2.7
//====================================== LCD screen control line wiring ==== =====================================//
//LCD_RST connect to P3.3 //reset signal
//LCD_CS connect to P1.3 //chip select signal
//LCD_RS connect to P1.2 //register/data selection signal
//LCD_WR connect to P1.1 //write signal
//LCD_RD connect to P1.0 //read signal
//======================================== touch screen touch wire ==== =====================================//
//This module's touch test needs to be connected to an external XPT2046 touch sampling chip, so this program does not perform touch testing.
//If you don¡¯t use touch or the module itself does not have touch, you don¡¯t need to connect
************************************************** ************************************************/



/************************************************* ************************************************** *
//Supporting code description:

//C51 comprehensive test program_ILI9341 (reduced test-suitable for single-chip microcomputer with small ROM capacity)
Test MCU: STC89C52
This code only executes the full-screen red, blue and green cycle display, which is the simplest test program to determine whether the wiring is correct and the hardware is intact. If the LCD screen can display red, blue and green normally, it proves that this mode is completely correct.

//C51 comprehensive test program_ILI9341 (comprehensive test-suitable for single-chip microcomputers with ROM above 30K)
Test MCU: STC12LE5A60S2/STC12C5A60S2
This code includes functions such as refreshing the screen, displaying in Chinese and English, displaying pictures, displaying dots, lines, and circles, etc. The compiled HEX file is relatively large, and it is recommended to use a ROM microcontroller above 30K for testing.