lovyan03 / LovyanGFX

SPI LCD graphics library for ESP32 (ESP-IDF/ArduinoESP32) / ESP8266 (ArduinoESP8266) / SAMD51(Seeed ArduinoSAMD51)
Other
1.03k stars 189 forks source link

lcd.pushImageDMA is flikkering with makersfab 7" tft #458

Closed powersoft closed 7 months ago

powersoft commented 7 months ago

I have received my makersfab 7", and wont display the google map from the world with this command:

1) downloadFile("http://maps.googleapis.com/maps/api/staticmap?center=0,0&zoom=" + String(zoom) + "&format=jpg-baseline&size=640x420&maptype=roadmap&markers=size:tiny%7C" + my_coordinate + "&markers=icon:https://images.srad.jp/topics/iss_64.png%7Cshadow:false%7C" + ISS + "&key=" + googleKey, "/staticmap.jpg");

and draw the file with: 2) jpegDraw("/staticmap.jpg", jpegDrawCallback, true , 80 , 20 , 640 , 420);

But redrawing gives a lot of flikkering of the screen. I reread the picture every 10 seconds.

// my program: read_and_display_ISS.txt