void alarm() {
char keypressed4;
char keypressed5;
char keypressed6;
char keypressed7;
char disarmcode1[5];
Serial.println("hi2");
Serial.println(disarmcode1);
The array gets declared here and I print the values in the empty array. In the serial monitor I read this:
hi2
"c
I don't know why or how these values get put into the array. I have code later on that puts values into the array, but from where that point in the code is, no values should be in the array
Also I have an LCD screen hooked up too, and it prints a value of 0 at (2, 0).