First commit, working build.

This commit is contained in:
id101010
2015-12-03 00:35:33 +01:00
commit 95685224b5
26 changed files with 3112 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
// test a passthru between USB and hardware serial
void setup() {
while (!Serial);
Serial.begin(9600);
Serial1.begin(9600);
}
void loop() {
if (Serial.available()) {
char c = Serial.read();
Serial1.write(c);
}
if (Serial1.available()) {
char c = Serial1.read();
Serial.write(c);
}
}