arduino code

this is my code:

#include “Adafruit_TFTLCD.h”
#include “TouchScreen.h”

#define LCD_CS A3
#define LCD_CD A2
#define LCD_WR A1
#define LCD_RD A0
#define LCD_RESET A4

#define YP A3
#define XM A2
#define YM 9
#define XP 8
TouchScreen ts = TouchScreen(XP, YP, XM, YM, 300);

#define TS_MINX 150
#define TS_MINY 120
#define TS_MAXX 920
#define TS_MAXY 940

#define BLACK 0x0000
#define BLUE 0x001F
#define RED 0xF800
#define GREEN 0x07E0
#define CYAN 0x07FF
#define MAGENTA 0xF81F
#define YELLOW 0xFFE0
#define WHITE 0xFFFF

Adafruit_TFTLCD tft(LCD_CS, LCD_CD, LCD_WR, LCD_RD, LCD_RESET);

void setup(void) {
Serial.begin(9600);

tft.setRotation(3);
tft.reset();
tft.initDisplay();

tft.fillscreen(BLACK);
tft.fillRect(25, 70, 100, 75, BLUE);
tft.drawstring(175, 100, “Button 2”, RED, 2);

tft.fillRect(170, 70, 100, 75, BLUE);
tft.drawstring(175, 100, “Button 2”, RED, 2);
}
#define MINPRESSURE 10
#define MAXPRESSURE 1000

void loop() {
Point p = ts.getPoint();
pinMode(XM, OUTPUT);
pinMode(YP, OUTPUT);

p.x = map(p.x, YS_MINX, TS_MAXX, 0, 240);
p.x = map(p.x, YS_MINY, TS_MAXY, 0, 320);

if(p.z > MINPRESSURE && p.z < MAXPRESSURE){

}
if(p.z > ts.pressureThreshhold){
Serial.print("Y = “); Serial.print(p.y);
Serial.print(”\tX = “); Serial.print(p.x);
Serial.print(”\tPressure = "); Serial.println(p.z);
delay(800);
}

}

this is the error message;

Arduino:1.6.7 (Mac OS X), 板子:“Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

/Users/nelson/Desktop/arduino/practice1/practice1.ino: In function ‘void setup()’:
practice1:45: error: ‘class Adafruit_TFTLCD’ has no member named ‘initDisplay’
tft.initDisplay();
^
practice1:47: error: ‘class Adafruit_TFTLCD’ has no member named ‘fillscreen’
tft.fillscreen(BLACK);
^
practice1:49: error: ‘class Adafruit_TFTLCD’ has no member named ‘drawstring’
tft.drawstring(175, 100, “Button 2”, RED, 2);
^
practice1:52: error: ‘class Adafruit_TFTLCD’ has no member named ‘drawstring’
tft.drawstring(175, 100, “Button 2”, RED, 2);
^
/Users/nelson/Desktop/arduino/practice1/practice1.ino: In function ‘void loop()’:
practice1:63: error: ‘YS_MINX’ was not declared in this scope
p.x = map(p.x, YS_MINX, TS_MAXX, 0, 240);
^
practice1:64: error: ‘YS_MINY’ was not declared in this scope
p.x = map(p.x, YS_MINY, TS_MAXY, 0, 320);
^
exit status 1
‘class Adafruit_TFTLCD’ has no member named ‘initDisplay’

Can anyone help me?

You're using methods that don't exist. So where does your code come from? Did you write it yourself? If so, have a look at the examples that come with the library.

Please edit your post and use code tags for the code and error message

[code] your code or error message here [/code] results in

 your code or error message here