gandrewstone/LIN

Serial Monitor Printing

RaakeshRaja opened this issue · 0 comments

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.