From 56f89f34ae0e6ac375aa0bc4308b667ce22decce Mon Sep 17 00:00:00 2001
From: "max.mustermann" <timo.altan@th-koeln.de>
Date: Wed, 9 Mar 2022 13:06:08 +0100
Subject: [PATCH] .

---
 examples/IRReciver/IRReciver.ino | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/examples/IRReciver/IRReciver.ino b/examples/IRReciver/IRReciver.ino
index e43924c..c7bbc04 100644
--- a/examples/IRReciver/IRReciver.ino
+++ b/examples/IRReciver/IRReciver.ino
@@ -11,7 +11,9 @@ void setup(){
 
 void loop(){
   command = ir_sensor.recieve_command();
-  Serial.println(command);
+  if (command != 0){
+    Serial.println(command);
+  }
 }
 
 
-- 
GitLab