We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e056966 commit c2a9f37Copy full SHA for c2a9f37
library.properties
@@ -1,5 +1,5 @@
1
name=ArduinoRS485
2
-version=1.0.5
+version=1.0.6
3
author=Arduino
4
maintainer=Arduino <info@arduino.cc>
5
sentence=Enables sending and receiving data using the RS-485 standard with RS-485 shields, like the MKR 485 Shield.
src/RS485.cpp
@@ -137,6 +137,11 @@ void RS485Class::endTransmission()
137
}
138
139
_transmisionBegun = false;
140
+#ifdef ESP32
141
+ // there is a bug in ESP32 for Serial2
142
+ while(_serial->available())
143
+ _serial->read();
144
+#endif
145
146
147
void RS485Class::receive()
0 commit comments