Smart Home Automation Forum
[Arduino IDE demo source code for KC868-E16S]--#06-KC868-E16S-RS485 - 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-E16S/E16P (https://www.kincony.com/forum/forumdisplay.php?fid=26)
+--- Thread: [Arduino IDE demo source code for KC868-E16S]--#06-KC868-E16S-RS485 (/showthread.php?tid=1928)



[Arduino IDE demo source code for KC868-E16S]--#06-KC868-E16S-RS485 - KinCony Support - 05-17-2022

[Arduino IDE demo source code for KC868-E16S]--#06-KC868-E16S-RS485
   

Code:
/*WWW.KINCONY.COM */
/*KC868-E16S CODE OF RS485*/
void setup(){
  Serial2.begin(9600,SERIAL_8N1,13,32);// IO13 is 485RX  IO32 is 485TX
}

void loop() {
Serial2.println("abcd123456789551");// send abcd123456789551
}