summaryrefslogtreecommitdiff
path: root/CODE/debug/IR/teensydeco/teensydeco.ino
diff options
context:
space:
mode:
Diffstat (limited to 'CODE/debug/IR/teensydeco/teensydeco.ino')
-rw-r--r--CODE/debug/IR/teensydeco/teensydeco.ino6
1 files changed, 3 insertions, 3 deletions
diff --git a/CODE/debug/IR/teensydeco/teensydeco.ino b/CODE/debug/IR/teensydeco/teensydeco.ino
index 2d06af9..f8fe2a5 100644
--- a/CODE/debug/IR/teensydeco/teensydeco.ino
+++ b/CODE/debug/IR/teensydeco/teensydeco.ino
@@ -16,13 +16,13 @@ float degwhere = -99.0; // where the ball is in degrees
void setup() {
Serial.begin(9600);
- Serial1.begin(9600);
+ Serial3.begin(9600);
Serial2.begin(9600);
}
void loop() {
- if (Serial1.available() > 0) {
- incomingbyte1 = Serial1.read();
+ if (Serial3.available() > 0) {
+ incomingbyte1 = Serial3.read();
//Serial.print(char(incomingbyte1));
if (incomingbyte1 == 's'){
iswriting1 = true;