gandrewstone / LIN

The LIN protocol implemented over Arduino APIs (Serial and Digital IO)
119 stars 46 forks source link

Serial Monitor Printing #5

Open RaakeshRaja opened 6 years ago

RaakeshRaja commented 6 years ago

Hey all,

I tried making two Arduino megas communicate via the LIN bus using the given library, but when I try to print the frame in the serial monitor, it gives some extra garbage values at the beginning and then prints the correct data transmitted and received. I believe that is due to the conflict between the use of serial ports on the Arduino. image in the above image 170 is the data sent, and the rest is garbage. image

in the above image, 1, 170 and 3 are the data and the intial U and the inverted "?" are garbage. Can anyone help me to remove these garbage values, please.