/* Connect the WiFly serial to the serial monitor. */ void terminal() { while (1) { if (wifly.available() > 0) { Serial.write(wifly.read()); } if (Serial.available() > 0) { wifly.write(Serial.read()); } } }