1

I'm using software serial to use multiple ports as serial in an arduino UNO and each of those is constantly receiving data. I want to know a way to get just the "newest" data each time I listen to one of this ports. I think erasing all data on the buffer and reading the first next piece of data would be an option, but I asume there's probably a better way to do it.

Thank you for your time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.