added serial comm and parsing bool into array
This commit is contained in:
@@ -68,9 +68,7 @@ void loop() {
|
||||
boolPause = true;
|
||||
}
|
||||
|
||||
String inputOutput = String("[") + boolUp + "," + boolRight + "," + boolDown + "," + boolLeft + "," + boolDodge + "," + boolPause + "]\n";
|
||||
|
||||
if (inputOutput) {
|
||||
Serial.println(inputOutput);
|
||||
}
|
||||
String Jsarray = String("[") + boolUp + "," + boolRight + "," + boolDown + "," + boolLeft + "," + boolDodge + "," + boolPause + "]\n";
|
||||
Serial.print(Jsarray);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user