#include <TFT.h>
#include <SPI.h>
#define cs 10
#define dc 9
#define rst 8
TFT TFTscreen = TFT(cs, dc, rst);
void setup() {
TFTscreen.begin();
TFTscreen.background(0, 0, 0);
}
void loop() {
int redRandom = random(0, 255);
int greenRandom = random (0, 255);
int blueRandom = random (0, 255);
TFTscreen.stroke(redRandom, greenRandom, blueRandom);
TFTscreen.point(80,64);
delay(500);
TFTscreen.line(0,64,160,64);
delay(500);
TFTscreen.rect(50,34,60,60);
delay(500);
TFTscreen.circle(80,64,30);
delay(500);
TFTscreen.background(0,0,0);
}