Skip to content
Discussion options

You must be logged in to vote

If there is insufficient memory for a sprite to be created then the subsequent behaviour will most likely be wrong. In this case the sprite does not exist, the library creates a sprite for you to contain each character and plots each one to the screen at the cursor position (default is 0,0). In this case the 0 is the last character and the remains of the "A" can also be seen.

The amount of memory available varies as a program runs. The simplest approach during program development and when swapping processors (that have different available RAM pools) is to trap whether the sprite is created and/or print available memory to ensure the program has a generous margin in all circumstances. This…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@MYCAMEL222
Comment options

@Bodmer
Comment options

Answer selected by MYCAMEL222
@MYCAMEL222
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment