Smart Home Automation Forum

Full Version: [Arduino IDE demo source code for KC868-E16S]--#06-KC868-E16S-RS485
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Arduino IDE demo source code for KC868-E16S]--#06-KC868-E16S-RS485
[attachment=1014]

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
}