minor code improement
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -24,7 +24,10 @@ void setup() {
|
||||
}
|
||||
|
||||
void loop() {
|
||||
if (available485()) Serial.println(get485message());
|
||||
if (available485()){
|
||||
Serial.print("received ");
|
||||
Serial.println(get485message());
|
||||
}
|
||||
while (Serial.available()) {
|
||||
c = (char)Serial.read();
|
||||
if (c == '\n') {
|
||||
|
||||
Reference in New Issue
Block a user