#define LCD_CS A3 #define LCD_CD A2 #define LCD_WR A1 #define LCD_RD A0 // you can also just connect RESET to the arduino RESET pin #define LCD_RESET A4 //Duemilanove/Diecimila/UNO/etc ('168 and '328 chips) microcontoller: // Color definitions #define BLACK 0x0000 #define BLUE 0x001F #define RED 0xF800 #define GREEN 0x07E0 #define CYAN 0x07FF #define MAGENTA 0xF81F #define YELLOW 0xFFE0 #define WHITE 0xFFFF #include "TFTLCD.h" TFTLCD tft(LCD_CS, LCD_CD, LCD_WR, LCD_RD, LCD_RESET); void setup(void) { Serial.begin(9600); Serial.println("8 Bit LCD test!"); tft.reset(); delay(100); // Added to get identifier number correctly. uint16_t identifier = tft.readID(); } void loop() { // put your main code here, to run repeatedly: }