Skip to content
Discussion options

You must be logged in to vote

I have converted this to a discussion for the reason stated above.

The code sample is incomplete: the symbol ILI9488 is undefined. What driver are you using? It's possible that the driver declares its own FrameBuffer instance (as per this ILI9488 driver).

In any event, as @Josverl states, a large buffer should be declared early. Further, if you want to vary the size, it's best to use a memoryview to perform allocation-free slicing of the buffer.

As a general point to declare a MicroPython bug you should produce a minimal code sample that reproduces the behaviour.

Replies: 4 comments 7 replies

Comment options

Josverl
May 10, 2025
Collaborator Sponsor

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@GitHubsSilverBullet
Comment options

@chf-6309
Comment options

@GitHubsSilverBullet
Comment options

@chf-6309
Comment options

@chf-6309
Comment options

Comment options

You must be logged in to vote
2 replies
@Josverl
Comment options

Josverl May 10, 2025
Collaborator Sponsor

@chf-6309
Comment options

Answer selected by chf-6309
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
4 participants
Converted from issue

This discussion was converted from issue #17279 on May 10, 2025 16:46.