diff --git a/crawler_software/arduino/crawler_slave/crawler_slave.ino b/crawler_software/arduino/crawler_slave/crawler_slave.ino index dcfca5c..820dccb 100644 --- a/crawler_software/arduino/crawler_slave/crawler_slave.ino +++ b/crawler_software/arduino/crawler_slave/crawler_slave.ino @@ -22,7 +22,7 @@ void setup() { windowWiperServo.attach(9); // This is only useful for debugging - Serial.begin(9600); + //Serial.begin(9600); // This is the address the pi will speak to us at Wire.begin(0x4); @@ -30,7 +30,7 @@ void setup() { // Call receiveEvent when data received Wire.onReceive(receiveEvent); - Serial.println("Finished Setup."); + //Serial.println("Finished Setup."); } // Just loop to keep the running code alive, and wait for events to happen. @@ -55,8 +55,8 @@ void receiveEvent(int n) { int value = atoi(raw_value); - Serial.println(id); - Serial.println(value); + //Serial.println(id); + //Serial.println(value); // Switch statements dont work on char * if (strcmp(id,"WIPE") == 0) // if id, and WIPE cancel out