Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of git://github.com/lumbric/Arduino-IRremote in…
Browse files Browse the repository at this point in the history
…to lumbric-master

working on merging Arduino-IRremote#54
  • Loading branch information
z3t0 committed Feb 21, 2016
2 parents bbc3697 + f396a79 commit 20f0368
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions examples/IRrecord/IRrecord.ino
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ void storeCode(decode_results *results) {
else if (codeType == SONY) {
Serial.print("Received SONY: ");
}
else if (codeType == PANASONIC) {
Serial.print("Received PANASONIC: ");
}
else if (codeType == JVC) {
Serial.print("Received JVC: ");
}
else if (codeType == RC5) {
Serial.print("Received RC5: ");
}
Expand Down Expand Up @@ -114,6 +120,16 @@ void sendCode(int repeat) {
Serial.print("Sent Sony ");
Serial.println(codeValue, HEX);
}
else if (codeType == PANASONIC) {
irsend.sendPanasonic(codeValue, codeLen);
Serial.print("Sent Panasonic");
Serial.println(codeValue, HEX);
}
else if (codeType == JVC) {
irsend.sendPanasonic(codeValue, codeLen);
Serial.print("Sent JVC");
Serial.println(codeValue, HEX);
}
else if (codeType == RC5 || codeType == RC6) {
if (!repeat) {
// Flip the toggle bit for a new button press
Expand Down

0 comments on commit 20f0368

Please sign in to comment.