Skip to main content
Unfortunately, portal is currently in readonly mode. You cannot post answers or questions.

DT028ATFT

Ilitek ILI9341 Initialization Code

Note that you'll need to configure the IM pins for 8-bit interface:

//************* Reset LCD Driver ****************// LCD_nRESET = 1; delayms(1); // Delay 1ms LCD_nRESET = 0; delayms(10); // Delay 10ms // This delay time is necessary LCD_nRESET = 1; delayms(120); // Delay 120 ms //Start initial Sequence write_cmd(0x01); //software reset delay(5); write_cmd(0x28); // display off //------------power control------------------------------ write_cmd(0xc0); //power control write_data16(0x00,0x26); write_cmd(0xc1); //power control write_data16(0x00,0x11); write_cmd(0xc5); //vcom control write_data16(0x00,0x5c);//35 write_data16(0x00,0x4c);//3E write_cmd(0xc7); //vcom control write_data16(0x00,0x94); //------------memory access control------------------------ write_cmd(0x36); // memory access control write_data16(0x00,0x48); //0048 my,mx,mv,ml,BGR,mh,0.0 write_cmd(0x3a); // pixel format set write_data16(0x00,0x55);//16bit /pixel //----------------- frame rate------------------------------ write_cmd(0xb1); // frame rate... (More)

Difference between DT028ATFT & DT028BTFT

Hello,

i have question about your DT028ATFT and DT028BTFT display. I ask about non touchpanel displays versions. Is there any migration note between those two display? If not what's the difference between those displays?

 

How to initialize the DT028ATFT's ILI9341 driver for landscape mode with RGB interface

Update your microcontroller VSYNC & HSYNC to be inline with displaying a 320 (column) x 240 (row) image or a 240x320 image.

In the 320x240 case, there should be 240 HSYNC pulses and for 240x320 there should be 320 HSYNC pulses.