From 3d4372df3c0fd76fd78f7ba6dee02f678ffa51f2 Mon Sep 17 00:00:00 2001 From: Abel Tim Date: Sun, 8 Feb 2026 14:09:12 +0100 Subject: 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 | || || --- .../communication&IR/tx/tx_rand_XIAO/src/main.cpp | 75 ---------------------- 1 file changed, 75 deletions(-) delete mode 100644 code/debug/communication&IR/tx/tx_rand_XIAO/src/main.cpp (limited to 'code/debug/communication&IR/tx/tx_rand_XIAO/src') diff --git a/code/debug/communication&IR/tx/tx_rand_XIAO/src/main.cpp b/code/debug/communication&IR/tx/tx_rand_XIAO/src/main.cpp deleted file mode 100644 index d164e3d..0000000 --- a/code/debug/communication&IR/tx/tx_rand_XIAO/src/main.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// code to send random numbers via the seeed XIAO's Serial1 port -#include - -long rn1; -long rn2; -long rn3; -long rn4; -long rn5; -long rn6; -long rn7; -long rn8; - - -void setup() { - Serial.begin(9600); - Serial1.begin(9600); - Serial.println("Starting loop"); - - randomSeed(analogRead(0)); -} - -void loop() { - rn1 = random(1500); - rn2 = random(1500); - rn3 = random(1500); - rn4 = random(1500); - rn5 = random(1500); - rn6 = random(1500); - rn7 = random(1500); - rn8 = random(1500); - - Serial.print("S"); - //Serial.print("B"); - Serial.print(rn1); - Serial.print(", "); - Serial.print(rn2); - Serial.print(", "); - Serial.print(rn3); - Serial.print(", "); - Serial.print(rn4); - Serial.print(", "); - Serial.print(rn5); - Serial.print(", "); - Serial.print(rn6); - Serial.print(", "); - Serial.print(rn7); - Serial.print(", "); - Serial.println(rn8); - Serial.println("R"); - //Serial.print("E"); - - Serial1.print("S"); - //Serial1.print("B"); - Serial1.print(rn1); - Serial1.print(", "); - Serial1.print(rn2); - Serial1.print(", "); - Serial1.print(rn3); - Serial1.print(", "); - Serial1.print(rn4); - Serial1.print(", "); - Serial1.print(rn5); - Serial1.print(", "); - Serial1.print(rn6); - Serial1.print(", "); - Serial1.print(rn7); - Serial1.print(", "); - Serial1.println(rn8); - Serial.println("R"); - //Serial1.print("E"); - - - delay(250); - -} \ No newline at end of file -- cgit v1.2.3