sumotoy / TFT_ILI93XX

Fast library for displays ILI9340,41,42,44 for all Teensy's,Arduino's,ESP8266
22 stars 13 forks source link

Not work tft.fillScreen() on ILI9341 and AVR #10

Open gioreva opened 4 years ago

gioreva commented 4 years ago

Only delete some line up and bot.

image

gioreva commented 4 years ago

Solved changing this. For some reason, if you are using AVR it does the right count.

static const int16_t    TFT_ILI93XX_TFTWIDTH    =   240;
static const int16_t    TFT_ILI93XX_TFTHEIGHT   =   320;
static const uint32_t   TFT_ILI93XX_CGRAM   =   76800;   // TFT_ILI93XX_TFTWIDTH * TFT_ILI93XX_TFTHEIGHT;