diff --git a/examples/IRReciver/IRReciver.ino b/examples/IRReciver/IRReciver.ino index e43924c479af452d5929fd0e38951e4c1c9708b0..c7bbc04e8f177483987fb3ad662e2e2d9accfee6 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); + } }