Could I combine the LiquidMenu with the LcdProgressBar library? #84
Replies: 1 comment
-
Hello, @GstamelosJ and sorry for the late reply. I'm guessing that in the method
with a return to the address of
and that you've made the string static:
otherwise its place in memory will be deallocated when it goes out of scope and it could be overwritten. Another option is to declare the string in global scope. Other potential problems are with the unusual way that the "LiquidMenu" library handles dynamic text. Take a look at the example "C_functions_menu.ino", it first creates a char array Good luck. |
Beta Was this translation helpful? Give feedback.
-
I'm working on a project for measuring a tank level and I haven't found any way to project the progressbar on the LCD screen.
I modified also the LcdProgressBar library changing the void LcdProgressBar::Draw(value) method to char* LcdProgressBar::Draw(value) for returning the string that represents the progress value but I didn't manage to fix it.
Any idea?
Beta Was this translation helpful? Give feedback.
All reactions