Is there a way to call a function just before updating the screen? #103
-
For example, I want to show the time on a screen, but I don't want to constantly poll my clock. Instead I'd like to get the current time just before displaying the clock screen. I suppose one way to do this would be to have an attached callback triggered by update(). Or is there a way to do this in the current architecture? And yes, very clean library. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
Bad-Assumptions
Jun 23, 2023
Replies: 1 comment
-
Oh, I just found the getters_menu example... |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
VasilKalchev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh, I just found the getters_menu example...