NewSoftSerial version 5 is available. A lot of people have been using this library — thanks! — but I really need to recognize the exceptional work of two contributors.
First of all, the diligent analysis of forum user etracer yielded the root cause of a tricky problem with NSS on OSX. An avr-gcc 4.3.0 bug causes to compiler to fail to generate the proper entry and exit sequences for certain interrupt handlers. etracer identified the problem and provided an inline workaround. Thanks! etracer’s fix is in NSS 5.
Secondly, user jin contributed a large body of work based on NSS and identified a potential problem that could result in data loss (fixed in NSS 5). jin made a variant of NSS that supports 4-pin serial, with the additional pins providing a very nice RTS/CTS flow control. We may see this in NSS in the near future. Please comment. Is this an interesting feature?
Thanks for all the feedback.
Mikal
Ray G
15 years ago
Greetings,
I am currently experimenting along the same lines, building a PCB assy to provide as robust a 2nd comms channel as possible, adapting the MiniUSB (soldering the rest of the pins on to get at the handshaking) and/or using a dual RS232 line tranceiver to implement 4 pin interrupt driven soft serial. I had been using APSS as a template, and just stumbled upon this post after seeing NSS referenced elsewhere… SO, yeah I guess you could say I’m interested! Please let me know if we can join forces, or if I should stall until handshaking is integrated into NSS.
Cheers,
-r