ESP32-TFT-Library-ILI9486
ESP32-TFT-Library-ILI9486 copied to clipboard
A library for 3.5 inch RPi LCD (A) 320x480 display from Waveshare
SD mounts only if NOT reformatted by windows 10. void setup() { SPI.begin(SPI_SCK, SPI_MISO, SPI_MOSI); tft.begin(TFT_CS, TFT_DC, SPI_MOSI, SPI_MISO, SPI_SCK); //tft.setFrequency(10000000); SD.begin(SD_CS); //SD.begin(SD_CS,SPI,10000000); // faster speed max 40MHz Serial.begin(115200); }...
IMHO Spi should not know anything about pixels... spi_TFT->writePixels((uint8_t*)colors , len * 2);
I have a problem with compiling code, I got this warning: In file included from C:\Users\Mikolaj\AppData\Local\Temp.arduinoIDE-unsaved202483-8588-308c57.gbnde\sketch_sep3a\sketch_sep3a.ino:2: c:\Users\Mikolaj\Documents\Arduino\libraries\ESP32-TFT-Library-ILI9486\src/ili9486.h: In member function 'void TFT::TFT_DC_HIGH()': c:\Users\Mikolaj\Documents\Arduino\libraries\ESP32-TFT-Library-ILI9486\src/ili9486.h:238:54: error: 'GPIO' was not declared in this...