Usage of PROGMEM
strings
#74
Geusantropy
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Hi, I added support for printing text lines stored in the flash memory as const char text[] PROGMEM = "Some text"; then attach it to the LiquidLine someLine(0, 0, text); and finally call the function: someLine.set_asProgmem(1); this function tells the object that this variable is stored in the flash. '1' is the consecutive number of the variable for this This update is released as beta here. |
Beta Was this translation helpful? Give feedback.
1 reply
-
thanks, works fine |
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
-
hello, due to some problems with a too low amount of RAM I've tried to use the Flash memory to store the text lines present inside the menu.. but I had some problems. I've tried to use the PROGMEM command and the relative methods to recall stored data, but the printet characters on lcd seems to be wrong converted (numbers or simbols). Can you explain the correct way to put flash stored text inside a liquidline object? Please, be detailed... I'm just a mechanical engineer :-)
Beta Was this translation helpful? Give feedback.
All reactions