summaryrefslogtreecommitdiff
path: root/CODE/debug/IR/IR_sens2/IR_sens2.ino
diff options
context:
space:
mode:
Diffstat (limited to 'CODE/debug/IR/IR_sens2/IR_sens2.ino')
-rw-r--r--CODE/debug/IR/IR_sens2/IR_sens2.ino36
1 files changed, 36 insertions, 0 deletions
diff --git a/CODE/debug/IR/IR_sens2/IR_sens2.ino b/CODE/debug/IR/IR_sens2/IR_sens2.ino
new file mode 100644
index 0000000..5fb4e9f
--- /dev/null
+++ b/CODE/debug/IR/IR_sens2/IR_sens2.ino
@@ -0,0 +1,36 @@
+int ir9 = 0
+int ir10 = 1
+int ir11 = 9
+int ir12 = 2
+int ir13 = 3
+int ir14 = 4
+int ir15 = 5
+int ir16 = 8
+
+int dir1 = 1; // data IR1
+int dir2 = 1; // data IR2
+int dir3 = 1; // etc
+int dir4 = 1;
+int dir5 = 1;
+int dir6 = 1;
+int dir7 = 1;
+int dir8 = 1;
+
+volatile long IRcount1 = 0;
+volatile long IRcount2 = 0;
+volatile long IRcount3 = 0;
+volatile long IRcount4 = 0;
+volatile long IRcount5 = 0;
+volatile long IRcount6 = 0;
+volatile long IRcount7 = 0;
+volatile long IRcount8 = 0;
+
+void setup() {
+ // put your setup code here, to run once:
+
+}
+
+void loop() {
+ // put your main code here, to run repeatedly:
+
+}