olikraus / ucglib

Arduino True Color Library for TFTs and OLEDs
https://github.com/olikraus/ucglib/wiki
Other
261 stars 76 forks source link

clearScreen() not clearing entire screen #162

Open OldSurferDude opened 10 months ago

OldSurferDude commented 10 months ago

In the following program, if the screen were all white before a reset, after the program runs, the last column and last row are white.

I think this is bug, as the Adafruit driver does not have this problem.

hardware 1.8" TFT display ESP-12F Arduino IDE, board: Generic ESP8266 Module

#include <Arduino.h>
#include <SPI.h>
#include <Ucglib.h> 
Ucglib_ST7735_18x128x160_HWSPI ucg(/*cd=*/ 4 , /*cs=*/ 15, /*reset=*/ -1);
void setup() {
  delay(1000);
  ucg.begin(UCG_FONT_MODE_TRANSPARENT);
  ucg.clearScreen();
}
void loop() {}