Open Emmanuel8107 opened 7 years ago
Hi. Is this issue fixed?
@kasperv79 no.. only serial 0, 1 and 2 is working.. serial 3 is still not working
Well I don't remember. Never mind you can close the thread. Best regards
Emmanuel ROBERT tel : +33 6 50 81 55 21
Le sam. 14 oct. 2023 à 11:45, Sooraj R @.***> a écrit :
@kasperv79 https://github.com/kasperv79 no.. only serial 0, 1 and 2 is working.. serial 3 is still not working
— Reply to this email directly, view it on GitHub https://github.com/victorhurdugaci/SerialProtocol/issues/2#issuecomment-1762779485, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLLRQMZV22LHJ3XDZ6C6HDX7JNMLAVCNFSM4EAF4FQKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZWGI3TOOJUHA2Q . You are receiving this because you authored the thread.Message ID: @.***>
Hello Victor. As I said in my private mail to you the code does'nt work between 2 mega arduinos. I am using Serial3 to connect them on each board. I had to redo my own protocol and had similar issue until I discovered that the process time in a loop is so much higher than the Serial frequency that when asking for a Serial3.read the result is often irevelant/wrong : the read has not yet received all the bytes. So I corrected the issue by checking when read gives sufficient bytes to read. I'll test a solution on your protocol during the coming days and will post my feedback the same time I'll answer your request. Regards and thank you for the job Emmanuel