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

Increased transmission speed #27

Open DrDiettrich opened 8 years ago

DrDiettrich commented 8 years ago

Updated init() for better readability and debugging. Support prescale/1024 (Mega T1-T5). Conditionally increased delay before triggering next interrupt from the ISR. This change allows to transmit contiguous streams @ 76800 baud. There exists still an issue with 115k, when the first transmitted bit of the next character is 1 (different from start bit). Improved again, now works from 300 to 76800 baud. Still not for 115k, not at all for <= 150 :-(