Can’t get the code to work and by reading this thread i think that come from the TFT who display nothing.
I readed previous comment and fixed Tft.TFTinit(); and #include <TFTv2.h>
but now i’m facing this:
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::drawButton(int, int)':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:44: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:58: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::drawButtonNumber()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:71: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:71: error: 'WHITE' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:76: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:76: error: 'WHITE' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::drawButtonAbc()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:89: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:89: error: 'WHITE' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::drawDialogBox()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:103: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::drawMsgDialogBox()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:109: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:110: error: 'BLACK' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::init()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:119: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::msgAdd(char)':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:169: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:170: error: 'BLUE' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::msgAdd(char, unsigned int)':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:182: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::msgDel()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:199: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::msgShowCount()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:206: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:208: error: 'RED' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:210: error: 'RED' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::callAdd(unsigned char)':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:223: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:223: error: 'BLACK' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:228: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:228: error: 'BLACK' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::callDel()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:242: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::msgNumAdd(char)':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:254: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:254: error: 'BLACK' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:259: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:259: error: 'BLACK' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::msgNumDel()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:279: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::showMainPage()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:481: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:481: error: 'GREEN' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:482: error: 'GRAY1' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:483: error: 'YELLOW' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:484: error: 'GRAY2' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::showPageKB()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:505: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:505: error: 'BLACK' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::showMsg()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:510: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:510: error: 'RED' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:512: error: 'YELLOW' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::showCall()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:518: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:518: error: 'YELLOW' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::drawReadMsgTxt()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:553: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:553: error: 'GRAY2' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::drawReadMsg()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:567: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:567: error: 'GRAY1' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:568: error: 'GRAY2' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:570: error: 'WHITE' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:571: error: 'BLACK' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::drawReadMsgPage()':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:578: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:578: error: 'GRAY1' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:579: error: 'BLUE' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:580: error: 'GRAY2' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:583: error: 'RED' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp: In member function 'void UI_ArduinoPhone::drawTimeDate(int, int)':
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:686: error: 'Tft' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:686: error: 'BLACK' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:687: error: 'GRAY1' was not declared in this scope
C:\Users\PXbytes\Documents\Arduino\libraries\ArduinoPhone\UI_ArduinoPhone.cpp:688: error: 'GRAY2' was not declared in this scope
I use the 2.0b 07/27/2012 tft shield.