#include "Adafruit_GFX.h"
#include "Adafruit_ILI9341.h"
#include "SPI.h"
// #include "dhaarlabs_logo.h"
#include "pihu.h"
#define TFT_SCK 18
#define TFT_MOSI 23
#define TFT_MISO 19
#define TFT_CS 15
#define TFT_DC 2
#define TFT_RESET 17
Adafruit_ILI9341 bus = Adafruit_ILI9341(TFT_DC, TFT_CS, TFT_SCK, TFT_MOSI, TFT_MISO);
Adafruit_ILI9341 display = Adafruit_ILI9341(&bus, TFT_RESET);
Adafruit_ILI9341 tft = Adafruit_ILI9341 (TFT_CS,TFT_DC);
void setup(void)
{
tft.begin();
tft.setCursor(0,0);
tft.setTextSize(2);
tft.setTextColor(ILI9341_RED);
tft.println("hello world");
tft.fillScreen(ILI9341_GREEN);
tft.drawRGBBitmap(0, 0, pihu, 240,292);
}
void loop() {}