Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Arduino IDE demo source code for KC868-AI]--#05-KC868-AI_RS232_code
#1
[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);


}


Attached Files
.zip   RS232.zip (Size: 455 bytes / Downloads: 229)
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)