Forum 2005-2010 (read only)
Syntax & Programs
(Read 460 times)
Jul 02, 2009, 06:42 pm
i'm having trouble adding characters to a variable string. The examples didn't help me much. It shows how to declare them but not how to manipulate them.
i have a keypad working fine and displaying a random alphanumberic code on the LCD screen. i want save that to a string. i believe you have to refer to each character in the string when you mod it but i cant get it to work.
some sample code plz.
Jul 02, 2009, 10:53 pm
I use this excellent library even when there might be a more efficient way to do it because it seems so intuitive to me:
Since it derives from Print, you can create strings in a buffer just like you were printing to your LED.
It may be overkill, but I like it.