diff options
| author | Abel Tim <abel@abeltim.com> | 2026-02-08 15:19:24 +0100 |
|---|---|---|
| committer | Abel Tim <abel@abeltim.com> | 2026-02-08 15:19:24 +0100 |
| commit | 21123d167332de2530240e35c5f0f1dd57df54b9 (patch) | |
| tree | 4f67179a1ccbf30fe699c48954c4aadffef2e57d /code/debug/communication/rx/rx_teensy/src/main.cpp | |
| parent | 4d5eb78969540b9a85bce67bddd188f06a2437e2 (diff) | |
| download | robotica-main.tar.gz robotica-main.zip | |
_____________________________
< Avoid reality at all costs. >
-----------------------------
\
\
/\_)o<
| \
| O . O|
\_____/
[Issue: X]
Diffstat (limited to 'code/debug/communication/rx/rx_teensy/src/main.cpp')
| -rw-r--r-- | code/debug/communication/rx/rx_teensy/src/main.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/code/debug/communication/rx/rx_teensy/src/main.cpp b/code/debug/communication/rx/rx_teensy/src/main.cpp deleted file mode 100644 index f3e9e79..0000000 --- a/code/debug/communication/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 |
