We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
presto.partial_update
I was attempting to use presto.partial_update, and finding the screen didn't update. Did I miss anything?
The screen is white in the top half, and blue in the bottom.
The screen is blue.
Run the following snippet on the Presto with release 0.0.7.
0.0.7
from presto import Presto presto = Presto() display = presto.display w, h = display.get_bounds() BLUE = display.create_pen(28, 181, 202) WHITE = display.create_pen(255, 255, 255) display.set_pen(BLUE) display.clear() presto.update() display.set_pen(WHITE) display.clear() presto.partial_update(0, 0, w, h // 2)
The text was updated successfully, but these errors were encountered:
Partial update currently only works if there is a single layer. Use presto = Presto(layers=1) for that.
presto = Presto(layers=1)
Keep this issue open though to track fixing it to work in the default case.
Sorry, something went wrong.
Got you, thanks for the clarification 👍
No branches or pull requests
I was attempting to use
presto.partial_update
, and finding the screen didn't update. Did I miss anything?Expected Behaviour
The screen is white in the top half, and blue in the bottom.
Observed Behaviour
The screen is blue.
Repro
Run the following snippet on the Presto with release
0.0.7
.The text was updated successfully, but these errors were encountered: