summaryrefslogtreecommitdiff
path: root/code/debug/communication&IR/rx/rx_teensy/src/main.cpp
diff options
context:
space:
mode:
authorAbel Tim <abel.tim.t@gmail.com>2026-02-08 14:09:12 +0100
committerAbel Tim <abel.tim.t@gmail.com>2026-02-08 14:09:12 +0100
commit3d4372df3c0fd76fd78f7ba6dee02f678ffa51f2 (patch)
tree68028bda5e90b2e2d4de0590b51c7c96d337a37d /code/debug/communication&IR/rx/rx_teensy/src/main.cpp
parent42dfd646a14c5d59fb5bf47c5453c6b7b64f63cf (diff)
downloadrobotica-3d4372df3c0fd76fd78f7ba6dee02f678ffa51f2.tar.gz
robotica-3d4372df3c0fd76fd78f7ba6dee02f678ffa51f2.zip
i am the only one who reads there anyways so why do i bother
imagen there is a butifull commit message here _____________________________________ / Nothing so needs reforming as other \ | people's habits. | | | \ -- Mark Twain / ------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
Diffstat (limited to 'code/debug/communication&IR/rx/rx_teensy/src/main.cpp')
-rw-r--r--code/debug/communication&IR/rx/rx_teensy/src/main.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/code/debug/communication&IR/rx/rx_teensy/src/main.cpp b/code/debug/communication&IR/rx/rx_teensy/src/main.cpp
deleted file mode 100644
index f3e9e79..0000000
--- a/code/debug/communication&IR/rx/rx_teensy/src/main.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-// this code is for Teensy 4.1 to read serial data and relay it to serial 1(computer)
-
-#include <Arduino.h>
-
-int incomingbyte = 0;
-void setup() {
- Serial.begin(9600);
- Serial2.begin(9600); //19200
- Serial3.begin(9600); //19200
- Serial.print("Starting ....");
-}
-
-void loop() {
- if (Serial3.available() > 0) {
- incomingbyte = Serial3.read();
- Serial.print(char(incomingbyte));
- }
- milis(1);
-
-} \ No newline at end of file