From 50fa64bfad59f5a68989cd3c38dc75af484210d1 Mon Sep 17 00:00:00 2001 From: AnalysIR Date: Mon, 24 Aug 2015 20:37:41 +0100 Subject: [PATCH] Update IRsendDemo.ino As written this example will cause issues with some IR receivers. On the face of it it sends teh sony signal burst 3 times with a 40ms gap. However, it really continues to send the sony signal forever with a 40ms gap. There needs to be a reasonable gap between signals sent & I have added in a 5 sec gap as a reasonable figure. Without a gap, many IR receivers will treat this signal as noise as it send continuous sony bursts with a 40 ms gap. --- examples/IRsendDemo/IRsendDemo.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/IRsendDemo/IRsendDemo.ino b/examples/IRsendDemo/IRsendDemo.ino index 4f51a57..4f23af6 100644 --- a/examples/IRsendDemo/IRsendDemo.ino +++ b/examples/IRsendDemo/IRsendDemo.ino @@ -20,4 +20,5 @@ void loop() { irsend.sendSony(0xa90, 12); delay(40); } + delay(5000); //5 second delay between each signal burst }