victorhurdugaci / SerialProtocol

A protocol for sending data between two Arduino devices, or between an Arduino and another device through a serial port
http://victorhurdugaci.com
Apache License 2.0
41 stars 12 forks source link

Not working between mega arduinos #2

Open Emmanuel8107 opened 7 years ago

Emmanuel8107 commented 7 years ago

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

kasperv79 commented 5 years ago

Hi. Is this issue fixed?

SoorajR-ai commented 1 year ago

@kasperv79 no.. only serial 0, 1 and 2 is working.. serial 3 is still not working

Emmanuel8107 commented 1 year ago

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: @.***>