01-27-2022, 02:08 AM
Code 3: //The demo code is IR SEND code You can copy the code to your Arduino IDE
[attachment=582]
you can download the zip file.
[attachment=581]
Code:
#include "PinDefinitionsAndMore.h"
#include <IRremote.h>
void setup() {
Serial.begin(9600);
IrSender.begin(IR_SEND_PIN, ENABLE_LED_FEEDBACK);// IR_SEND_PIN is defined in PinDefinitionsAndMore.h file
}
uint16_t sAddress = 0x78;
uint8_t sCommand = 0xCD;
uint8_t sRepeats = 0;
void loop() {
IrSender.sendNEC(sAddress, sCommand, sRepeats);
delay(1000);
}
[attachment=582]
you can download the zip file.
[attachment=581]