Hello,
I'm trying to combine some char values into a single char array. I can't seem to get this right. This is what it looks like right now.
char keyPin0 = '1';
char keyPin1 = '2';
char keyPin2 = '3';
char keyPin3 = '4';
char keyPin4 = '5';
char keyNums[5];
keyNums = keyPin0 + keyPin1 + keyPin2 + keyPin3 + keyPin4;
Also, when I try to print onto my lcd screen it just prints the combined ascii values added together and only prints the one character.
lcd.print(keyPin0 + keyPin1 + keyPin2 + keyPin3 + keyPin4);