#define sp Serial.print;
#define spl Serial.println;
int cmax = 500;
int parm[500][5];
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println("Start");
for (int pc=1;pc<500;pc++)
{ for (int col=1;col<5;col++)
{ parm[pc][col] = pc*10+col; }
}
}
void loop() {
// put your main code here, to run repeatedly:
for (int pc=1;pc<500;pc++)
{ for (int col=1;col<5;col++)
{ Serial.println(parm[pc][col]); }
}
String cmd[] = {"u","w","d"};
for (int i=0; i<=2;i++) {
Serial.print(cmd[i]);
}
Serial.println();
delay(1000);
}