cheungbx / st7735-esp8266-micropython

an ESP8266 micropython library for st7735 160x80, 128x128, 128x160 TFT LCD displays
31 stars 11 forks source link

Memory error #2

Closed FPRM closed 2 years ago

FPRM commented 2 years ago

While trying to use the librairie on a wemos D1 mini, i got Memoryerror. My root folder is structured as boot.py 4KB a config.json file with 10 lines and st7735.py and sysfont.py

cheungbx commented 2 years ago

Esp8266 only have limited run time memory for codes and variables . What I usually do is to convert all .py files to compressed .mpy files to save space. You can try. However if this still does not work , you may want to try to do it on ESP32 that has hundred times more run time memory spaces Lovingly handcrafted just for you by Billy Cheung

Florian Pereme @.***>於2021年9月22日 上午6:35寫道:



Closed #2https://github.com/cheungbx/st7735-esp8266-micropython/issues/2.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/cheungbx/st7735-esp8266-micropython/issues/2#event-5339156821, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG3IZP72GBGPC33P3T3YYPTUDECBHANCNFSM5EPYNRNA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.