adafruit / Adafruit-ST7735-Library

This is a library for the Adafruit 1.8" SPI display http://www.adafruit.com/products/358 and http://www.adafruit.com/products/618
https://learn.adafruit.com/1-8-tft-display
564 stars 305 forks source link

raspberry pi pico Adafruit_ST7735 out of memory?... #173

Open demenkovms opened 2 years ago

demenkovms commented 2 years ago

Hello. Is it possibly to be out of memory if I try to load bmp from SD-card (6 bmp files)? I load on start screen - then make tft.fillScreen(ST77XX_BLACK) and try to load other - I get white screen and yellow led on pico start to blink. Is the tft.fillScreen clear memory? may be it was any debug mode to check what can be trouble? Thanks!

P.S. and I get "File img/ATTENT.bmp not found" but the file is on SD card, and if display it separately - it's display ok

demenkovms commented 2 years ago

As I understand, the reason is that I run bmpDraw (to draw file) in rtos thread, but why it's happened and how to fix it I did't understand...