Skip to content
Discussion options

You must be logged in to vote

I suspect you are running out of RAM, WiFi functions can consume a lot. When a sprite is created it requests RAM, in this case about 8kbytes will be requested. Subsequently the Wifi stack demands more Ram and the processor crashes. You could add code to print the heap size in various places to see how much RAM is available. As your project evolves it is likely to grow and demand more RAM, so upgrading to an ESP32 is worthwhile.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@audreylim
Comment options

Answer selected by Bodmer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants
Converted from issue

This discussion was converted from issue #1662 on February 24, 2022 11:14.