Smart Home Automation Forum
[Arduino IDE demo source code for KC868-A8S]--#09-KC868-A8S_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-A8S (https://www.kincony.com/forum/forumdisplay.php?fid=24)
+--- Thread: [Arduino IDE demo source code for KC868-A8S]--#09-KC868-A8S_RS485_code (/showthread.php?tid=1958)



[Arduino IDE demo source code for KC868-A8S]--#09-KC868-A8S_RS485_code - KinCony Support - 06-01-2022

[Arduino IDE demo source code for KC868-A8S]--#09-KC868-A8S_RS485_code

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

Serial2.begin(9600,SERIAL_8N1,32,33);  //  IO32   485RX   IO33 485TX

}

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