summaryrefslogtreecommitdiff
path: root/CODE/debug/IR/communication/tx_seeed/tx_seeed.ino
diff options
context:
space:
mode:
Diffstat (limited to 'CODE/debug/IR/communication/tx_seeed/tx_seeed.ino')
-rw-r--r--CODE/debug/IR/communication/tx_seeed/tx_seeed.ino20
1 files changed, 20 insertions, 0 deletions
diff --git a/CODE/debug/IR/communication/tx_seeed/tx_seeed.ino b/CODE/debug/IR/communication/tx_seeed/tx_seeed.ino
new file mode 100644
index 0000000..fe6d1da
--- /dev/null
+++ b/CODE/debug/IR/communication/tx_seeed/tx_seeed.ino
@@ -0,0 +1,20 @@
+long randNumber;
+
+void setup() {
+ Serial.begin(9600);
+ Serial1.begin(9600);
+ delay(2500);
+ randomSeed(analogRead(0));
+
+}
+
+void loop() {
+ randNumber = random(300);
+ Serial.println("transmission test");
+ Serial1.println("transmission test");
+ Serial.println(randNumber);
+ Serial1.println(randNumber);
+ delay(1000);
+
+
+}