void setup() {
Serial.begin(19200, SERIAL_8N1);
Serial1.begin(19200, SERIAL_8N1);
void loop() {
if (Serial.available()) {
Serial.write(Serial.read());
}
if (Serial1.available()) {
Serial.write(Serial1.read());
}
Serial1.write("F5110055FE");
delay(20);
byte message[] = {0xF5, 0x01, 0x00};
Serial1.write(message, sizeof(message));