From 93bc91846e63de7054633d5f8891d2e8a79963a8 Mon Sep 17 00:00:00 2001
From: Orhan-Timo Altan <timo.altan@th-koeln.de>
Date: Fri, 4 Mar 2022 13:55:28 +0100
Subject: [PATCH] .

---
 BITsIRReciver.h                  | 2 +-
 examples/IRReciver/IRReciver.ino | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/BITsIRReciver.h b/BITsIRReciver.h
index d840c44..b0cae08 100644
--- a/BITsIRReciver.h
+++ b/BITsIRReciver.h
@@ -30,7 +30,6 @@
  * ****************************************** */
 
 #include <IRremote.h>
-const int IR_PIN = 46;
 IRrecv ir_reciver(IR_PIN);
 decode_results results;
 
@@ -54,6 +53,7 @@ public:
 
 private:
     int ir_command;
+    
 };
 
 #endif
\ No newline at end of file
diff --git a/examples/IRReciver/IRReciver.ino b/examples/IRReciver/IRReciver.ino
index 9a2a80e..e43924c 100644
--- a/examples/IRReciver/IRReciver.ino
+++ b/examples/IRReciver/IRReciver.ino
@@ -1,3 +1,4 @@
+#define IR_PIN 46
 #include "BITsIRReciver.h"
 
 BitsIrReciver ir_sensor;
-- 
GitLab