Hola, llevo tiempo intentado resolver este problema y no he podido. Estoy intentando mandar señales IR desde un arduino UNO, leí sobre el tema e hice varios ejemplos sin problemas, pero al intentar compilar el ejemplo Send_Serial de la librería IRLremote por la linea : IRLwrite<IR_NEC>(pinSendIR, address, command); me dice que 'IRLwrite' no fue declarada. Alguien me puede orientar para encontrar la solución a este error? de ante mano agradezco su disponibilidad. este es el codigo de ejemplo
#include "IRLremote.h"
// choose any pin to send IR signals
const int pinSendIR = 3;
void setup() {
// start serial debug in/output
Serial.begin(115200);
Serial.println("Startup");
}
void loop() {
if (Serial.available()) {
// discard all Serial bytes to avoid multiple sendings
delay(10);
while (Serial.available())
Serial.read();
// send the data, no pin setting to OUTPUT needed
Serial.println("Sending...");
uint16_t address = 0x6361;
uint32_t command = 0xFE01;
IRLwrite<IR_NEC>(pinSendIR, address, command);
}
}