hiletgo 2.2 inch ili9341 spi tft lcd display 240x320 ili9341 lcd screen with sd card slot for arduino raspberry pi 51/avr/stm32/arm/pic hiletgo <b>specifications:</b><br> resolution: 240x320<br> driver ic: ili9341<br> input voltage: 5v/3.3v<br> size 2.2 inch, it has pcb backplane with power ic, sd card socket<br> led numbers 4 leds, driver ic: ili9341, color depth 262k/65k<br> module size:67mm(length)*40mm(width)*4mm(thickness), active area: 47.5mm(length)x36.5mm(width)<br><br> <b>package included:</b><br> 1*2.2" 2.2 inch 4-wire spi tft lcd display module<br><br> <b>how to use it? </b><br>1. use 5v to led pin, 3.3v to vcc and 1k / 1.5k resistor voltage dividers to get it to work. 1k resistor in series from arduino to tft logic pin, 1.5k from tft pin to ground. <br>2.#define tft_dc 9<br>#define tft_cs 10<br>#define tft_mosi 11<br>#define tft_clk 13<br>#define tft_rst 12<br>#define tft_miso 8<br>3.// use hardware spi (on uno, #13, #12, #11) and the above for cs/dc<br>//ili9341 tft = ili9341(tft_cs, tft_dc);<br>4.// if using the breakout, change pins as desired<br>ili9341 tft = ili9341(tft_cs, tft_dc, tft_mosi, tft_clk, tft_rst, tft_miso).<br><br><b>serial monitor output:</b><br>1-- ili9341 test!<br>display power mode: 0x94<br>madctl mode: 0x48<br>pixel format:0x5<br>imageformat: 0x80<br>self diagnostic: 0xc0<br>benchmark time (microseconds)<br>2-- screen fill 18159720<br>text 921664<br>lines 8537648<br>horiz/vert lines 1485756<br>rectangles (outline) 946520<br>rectangles (filled) 37689232<br>circles (filled) 5325780<br>circles (outline) 3725412<br>triangles (outline) 1944508<br>triangles (filled) 12525852<br>rounded rects (outline) 1782700<br>rounded rects (filled) 40989648<br>