Skip to content

Instantly share code, notes, and snippets.

View menan's full-sized avatar
🦉

Menan Vadivel menan

🦉
View GitHub Profile
@khwas
khwas / ILI9341
Last active November 29, 2015 22:49
QVGA over SPI Initialization, choosing left top, orientation and X, Y meaning, rectangles, lines, colors. Speed test
#include <Wire.h> // Use Wire according to arcticle https://garretlabs.wordpress.com/2014/03/18/the-dark-side-of-porting-arduino-sketches-on-intel-galileo-part-one/
int RESET_PIN = 8;
int DC_PIN = 9;
int CS_PIN = 7;
int MOSI_PIN = 2;
int MISO_PIN = 12;
int SCK_PIN = 3;
//TFT resolution 240*320