Hi to every one. This is a quiestion about the Irlibary found here: GitHub - Arduino-IRremote/Arduino-IRremote: Infrared remote library for Arduino: send and receive infrared signals with multiple protocols.
I have a project that is a programable universal remote control, it basicaly recieves a code, stores it, and send it later. It's working OK but not with all the TV's I've tried.
I've been used this library for a while but now I noticed that they have added more protocols, in the Example: "IRrecvDumpV2" it says:
void encoding (decode_results *results)
{
switch (results->decode_type) {
default:
case UNKNOWN: Serial.print("UNKNOWN"); break ;
case NEC: Serial.print("NEC"); break ;
case SONY: Serial.print("SONY"); break ;
case RC5: Serial.print("RC5"); break ;
case RC6: Serial.print("RC6"); break ;
case DISH: Serial.print("DISH"); break ;
case SHARP: Serial.print("SHARP"); break ;
case JVC: Serial.print("JVC"); break ;
case SANYO: Serial.print("SANYO"); break ;
case MITSUBISHI: Serial.print("MITSUBISHI"); break ;
case SAMSUNG: Serial.print("SAMSUNG"); break ;
case LG: Serial.print("LG"); break ;
case WHYNTER: Serial.print("WHYNTER"); break ;
case AIWA_RC_T501: Serial.print("AIWA_RC_T501"); break ;
case PANASONIC: Serial.print("PANASONIC"); break ;
case DENON: Serial.print("Denon"); break ;
}
}
But I can't find the way to Send those codes... In the examples I only see:
irsend.sendRC6(codeValue, codeLen);
irsend.sendRC5(codeValue, codeLen);
irsend.sendSony(codeValue, codeLen);
irsend.sendNEC(codeValue, codeLen);
or irsend.sendRaw(rawCodes, codeLen, 38); if codetype==UNKNOWN
How could I do this? Is there a method to send the new codetypes??
Thank you very much