Smart Home Automation Forum
[Arduino IDE demo source code for KC868-A64]--#01-RS485_code - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A64 (https://www.kincony.com/forum/forumdisplay.php?fid=28)
+--- Thread: [Arduino IDE demo source code for KC868-A64]--#01-RS485_code (/showthread.php?tid=1905)



[Arduino IDE demo source code for KC868-A64]--#01-RS485_code - KinCony Support - 05-12-2022

[Arduino IDE demo source code for KC868-A64]--#01-RS485_code
   

Code:
/*WWW.KINCONY.COM*/
/*KC868-A64 code of RS485 */
void setup() {

Serial2.begin(9600,SERIAL_8N1,13,14);  //  IO13   485RX   IO14 485TX

}

void loop() {
Serial2.println("KinCony ACBDEFG"); // Enter your print string
delay(1500);
}