If lcd.print() expects a string as its parameter, your mistake is not sending a null terminated string. You need to add one more character to the end of your array and stick a null character '\0' in there, e.g.digits[5] = '\0';
-j
If lcd.print() expects a string as its parameter, your mistake is not sending a null terminated string. You need to add one more character to the end of your array and stick a null character '\0' in there, e.g.digits[5] = '\0';
-j