Skip to content

Commit

Permalink
Update IRsendDemo.ino
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
AnalysIR committed Aug 24, 2015
1 parent f83fe2b commit d433744
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/IRsendDemo/IRsendDemo.ino
Expand Up @@ -20,4 +20,5 @@ void loop() {
irsend.sendSony(0xa90, 12);
delay(40);
}
delay(5000); //5 second delay between each signal burst
}

0 comments on commit d433744

Please sign in to comment.