bugfix in SerialTransceiver
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -25,7 +25,7 @@ void setup() {
|
||||
|
||||
void loop() {
|
||||
if (available485()) Serial.println(get485message());
|
||||
if (Serial.available()) {
|
||||
while (Serial.available()) {
|
||||
c = (char)Serial.read();
|
||||
if (c == '\n') {
|
||||
send485(message.c_str());
|
||||
|
||||
Reference in New Issue
Block a user