Hi,
Are there any libraries for arduino that implement serial communication with flow control? cts,rts.
Thanks
I did some searching, I didn't see any.
The USART in the Atmega 328 does not implement flow control - only Rx and Tx.
Writing code to add flow control should not be difficult.
But why do you need it?
...R
Serial Input Basics - simple reliable ways to receive data.
A module that I want to connect to uses it.
To implement all I need to do is change the state of a pin before I send ,wait for the other, and send? Watch another pin for the other RTS and then change a pin for CTS?
Thanks
stern0m1:
To implement all I need to do is change the state of a pin before I send ,wait for the other, and send? Watch another pin for the other RTS and then change a pin for CTS?
Yes.
But the devil is in the detail.
...R