I bought a 3.2 TFT LCD Monitor off Ebay, when I run the code provided, I get the message 'HX8357B' was not declared in this scope. When I looked inside of UTFT.h file the HX8357B is not listed. When I change the it to HX8347A it get 'Error complining for board Arduino Mega or Mega 2560, the board I am using.
Here is the code (As coped)
#if defined(AVR)
#define imagedatatype unsigned int
#elif defined(PIC32MX)
#define imagedatatype unsigned short
#elif defined(arm)
#define imagedatatype unsigned short
#endif
// End of multi-architecture block
#include <UTFT.h>
#include <UTouch.h>
#include <UTFT_Buttons.h>
// Declare which fonts we will be using
extern uint8_t BigFont[];
// Declare which bitmaps we will be using
extern imagedatatype cat[];
extern imagedatatype dog[];
extern imagedatatype bird[];
extern imagedatatype monkey[];
// Set up UTFT...
// Standard Arduino Mega/Due shield : ,38,39,40,41
// Remember to change the model parameter to suit your display module!
UTFT myGLCD(HX8347A,38,39,40,41);
// Set up UTouch...
// Standard Arduino Mega/Due shield : 6,5,4,3,2
UTouch myTouch(52, 48, 51,50, 49);