for (i=0; i<4; i++) disp[i] = inString[i];
That's why there are functions like strcpy() in the standard C library (but probably not in Arduino's library, due to microcontroller size constraints).
We really want to use the strcpy() function, like so:Code: [Select]strcyp(disp, inString);
strlcpy(disp, inString, sizeof(disp)) ;
Please enter a valid email to subscribe
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