Skip to content

On a Pico W, EInkPIO may not be usable in a loop #10

Answered by phoreglad
Cheddoleum asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you're right about reinitialisation. I've updated the library to include a public reinit() method. After putting the screen to sleep make sure to call reinit() before next call to show().

As for the error when using EInk class it might be caused by memory fragmentation. The screen requires relatively large framebuffers, so recreating the EInk object several times and running other code in between might not leave enough contiguous memory for the buffers.

Replies: 3 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@phoreglad
Comment options

Answer selected by Cheddoleum
@Cheddoleum
Comment options

@phoreglad
Comment options

@Cheddoleum
Comment options

@Cheddoleum
Comment options

Comment options

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

@Cheddoleum
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants