01-27-2022, 02:08 AM
(This post was last modified: 01-27-2022, 02:10 AM by KinCony Support.)
Code 3: //The demo code is IR SEND code You can copy the code to your Arduino IDE
you can download the zip file.
KC868-AG_IR_send.zip (Size: 3.14 KB / Downloads: 289)
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);
}
you can download the zip file.
KC868-AG_IR_send.zip (Size: 3.14 KB / Downloads: 289)