Replies: 1 comment
-
Hello lbaraldi. I added an optional argument to the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
i have a 4-key i2c keyboard. Two buttons to change the focus and the other two to enter, exit, increase or decrease a variable.
All manipulation is done through callback functions.
I implemented a functionality on the keyboard that when a key is held down, then the function is called repeatedly in order to change the variable value continuously until reaching the desired value.
the problem is that the LCD display starts to flicker badly
Describe the solution you'd like
It would be interesting if:
Example:
Soft update
LiquidLine :: attach_function(number, function, false)
"Standard" update
LiquidLine :: attach_function(number, function)
Describe alternatives you've considered
Another option would be to choose when the function call is made:
LiquidMenu :: call_function(number, false)
Additional context
That way it would be easy to keep updating the LCD display without flickering...
Example:
When incrementing a variable, we check inside the function that makes the increment if its resulting value has the remainder of the division by 10 equal to zero!
Beta Was this translation helpful? Give feedback.
All reactions