07-06-2022, 01:07 AM
[Arduino IDE demo source code for KC868-AI]--#05-KC868-AI_RS232_code
Code:
void setup() {
// put your setup code here, to run once:
Serial1.begin(115200,SERIAL_8N1,33,32);
}
void loop() {
// put your main code here, to run repeatedly:
Serial1.print("RELAY-KEY-255,1,1");
delay(2000);
}