Skip to content
New issue

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

Scrol function and static text #214

Open
paulvanderheijden90 opened this issue Jan 13, 2020 · 0 comments
Open

Scrol function and static text #214

paulvanderheijden90 opened this issue Jan 13, 2020 · 0 comments
Labels

Comments

@paulvanderheijden90
Copy link

Hello.

i want to use the function scrol and different static text on 1 display.
the scroll function is running the whole time. And the static text is showing the time.

The issues is that as long as the "show message" is running the text function is not updated.

so is it possible with some smart code to fix this ?

So the
show_message(device, msg, fill="white", font=proportional(LCD_FONT), scroll_delay=0.01)
and

with canvas(device) as draw:
    text(draw, (0, 0), time, fill="white")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants