euglena/lib/serial/test/serial_latency/arduino/serial_latency.ino

13 lines
157 B
Arduino
Raw Normal View History

2016-07-10 00:36:44 -07:00
void setup() {
Serial.begin(115200);
}
void loop() {
while (true) {
int in = Serial.read();
if (in != -1) {
Serial.write(in);
}
}
}