8000
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 aaa453d commit 8a517b6Copy full SHA for 8a517b6
libraries/CurieSoftwareSerial/src/SoftwareSerial.cpp
@@ -187,7 +187,7 @@ void SoftwareSerial::recv()
187
}
188
189
// wait until we see a stop bit/s or timeout;
190
- uint8_t loopTimeout = 8;
+ uint8_t loopTimeout = 32;
191
if(invertedLogic)
192
{
193
while(digitalRead(_rxPin) && (loopTimeout >0))
@@ -306,6 +306,10 @@ void SoftwareSerial::begin(long speed)
306
_rx_delay_init_intrabit = 0;
307
_rx_delay_init_centering = 0;
308
309
+ else
310
+ {
311
+ _rx_delay_init_intrabit = _rx_delay_first_intrabit;
312
+ }
313
314
#if _DEBUG
315
pinMode(_DEBUG_PIN1, OUTPUT);
0 commit comments