PaulStoffregen / AltSoftSerial

Software emulated serial using hardware timers for improved compatibility
http://www.pjrc.com/teensy/td_libs_AltSoftSerial.html
328 stars 131 forks source link

Issue with 2400 Baud #33

Closed ixiom closed 7 years ago

ixiom commented 7 years ago

I used the example sketch on https://www.pjrc.com/teensy/td_libs_AltSoftSerial.html and noticed issues with reading at 2400 baud. I was testing 1200, 2400, 4800 and 9600. The other bauds work perfectly. When I do a write, Serial.read() reads the correct character. However, when I do Serial.write(), altSerial.read() doesn't always read the character correctly.

ixiom commented 7 years ago

I just noticed that the IDE was using version 1.3 instead of 1.4. Works as expected with 1.4.