How does one write a string rather than a byte using software serial? Is it possible to use incomingString = Serial.readString(); from the serial and then re-post it on RS485 out like RS485.write(incomingString); or only incomingByte = Serial.readByte(); and then re-post it on the RS485 RS485.write(incomingByte); is available using SoftwareSerial ?
digitalWrite(CTS_PIN, HIGH);
RS485.write(incomingString);
digitalWrite(CTS_PIN, LOW);
Anyway to achieve this?
Thank You.