Go Down

Topic: Strings (Read 580 times) previous topic - next topic


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.


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.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131