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.
Most work already done by zenwheel, but the sendPanasonic command
didn't work. Sending and decoding is confirmed to work with using both
the JVC and Panasonic protocol.
The library has also been updated to work with Arduino IDE 1.0.
Many problems happen with git due to some machines liking CRLF at the
end of lines, and others linking CR. To try to straighten this out,
I'm using Unix-style LF (\n) as the line endings. To make sure your
repository remains consistent, try:
$ git config --global core.autocrlf input
For details, see:
http://help.github.com/dealing-with-lineendings/