Added simple echo arduino tester
This commit is contained in:
parent
842d4d3663
commit
cef87f124d
1 changed files with 13 additions and 0 deletions
13
Echo/Echo.ino
Normal file
13
Echo/Echo.ino
Normal file
|
@ -0,0 +1,13 @@
|
|||
void setup() {
|
||||
Serial.begin(115200);
|
||||
}
|
||||
|
||||
// the loop routine runs over and over again forever:
|
||||
void loop() {
|
||||
while (Serial.available() > 0) {
|
||||
Serial.write(Serial.read());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue