How to print the values in a double array one at a time?
I tried this code but it doesn't work.
char input[5][8] = {
{'1','0','8','2','9','5','3','6'},
{'2','8','3','5','2','1','1','9'},
{'5','0','9','2','3','1','6','0'},
{'4','3','7','9','1','5','2','8'},
{'8','7','3','0','0','9','1','5'}
};
void setup(){
lcd.begin(16,2);
}
void loop(){
char key = keypad.getKey();
int x;
for (x=0; x<=5;x++)
{
for (int y=0; y<=8; y++)
{
lcd.print(input[x][y]);
}
}
}