Well, the "strings in codespace" question seems to come up often enough, but my search still didn't come up with an answer that I like.
What I want is to store several strings in codespace (not EEPROM) and pull different ones up for display depending on the contents of a variable.
This is a pseudocode equivalent of what I WANT, but I don't know how to make it work in "real life"...
Is there a clever way to do this?Code:daynumber var byte weekday var byte[9] If daynumber = 0 then weekday = " SUNDAY " If daynumber = 1 then weekday = " MONDAY " If daynumber = 2 then weekday = " TUESDAY " If daynumber = 3 then weekday = "WEDNESDAY" LCDOUT $fe, 1, STR weekday\9
HELP! (please!)
steve





Bookmarks