summaryrefslogtreecommitdiff
path: root/CODE/debug/IR/communication
diff options
context:
space:
mode:
authorrobosoccer <robosoccer@mendelcollege.nl>2025-03-20 16:33:18 +0100
committerrobosoccer <robosoccer@mendelcollege.nl>2025-03-20 16:33:18 +0100
commit73cc3da30e15e061a26752c0f8967a64a86d99c6 (patch)
treeb0dd363ae1b2c317dc46465b96a6181f42d71353 /CODE/debug/IR/communication
parent20c32f0508838361ecf899dfc6f5f3b70abede8a (diff)
downloadrobotica-73cc3da30e15e061a26752c0f8967a64a86d99c6.tar.gz
robotica-73cc3da30e15e061a26752c0f8967a64a86d99c6.zip
EEASFEESDFASDF
Diffstat (limited to 'CODE/debug/IR/communication')
-rw-r--r--CODE/debug/IR/communication/rx_teensy/rx_teensy.ino11
1 files changed, 8 insertions, 3 deletions
diff --git a/CODE/debug/IR/communication/rx_teensy/rx_teensy.ino b/CODE/debug/IR/communication/rx_teensy/rx_teensy.ino
index 8e1ecfa..f135d87 100644
--- a/CODE/debug/IR/communication/rx_teensy/rx_teensy.ino
+++ b/CODE/debug/IR/communication/rx_teensy/rx_teensy.ino
@@ -1,5 +1,9 @@
String tlocd = "";
-String locd = "";
+String locd "";
+String irs1 = "";
+String irs2 = "";
+String am1 = "";
+String am2 "";
bool readloc = false;
unsigned long datatime = 0;
@@ -15,7 +19,8 @@ void loop() {
byte byteRead = Serial2.read();
if(byteRead == 's'){
- tlocd = "";
+ tlocd = ""; 0
+
readloc = true;
}
else if(byteRead == 'e'){
@@ -36,6 +41,6 @@ void loop() {
// say what you got:
Serial.print(char(byte byteRead));
}
-
+
delay(111);
}