#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_ILI9341.h>
#define TFT_CS 15
#define TFT_DC 13
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
void setup() {
Serial.begin(9600);
tft.begin();
tft.setCursor(20, 120);
tft.setTextSize(5);
tft.println("Hello!");
/* virtual void drawLine(int16_t x0, int16_t y0, int16_t x1, int16_t y1,
uint16_t color);
virtual void drawRect(int16_t x, int16_t y, int16_t w, int16_t h,
uint16_t color);
virtual void fillRect(int16_t x, int16_t y, int16_t w, int16_t h,
uint16_t color);
virtual void fillScreen(uint16_t color);
*/
// tft.drawRect(0, 30, 100, 60, 4444);
tft.fillRect(0, 30, 280, 60, 50000);
// tft.fillScreen(5555);
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}