I can't understand exactly which part of which code do you mean, but as far as I understand we were reading the messages with only one id, you want to read more different messages.Yes, using if .. else if is a nice idea and it should work, what is your problem then?
have you got it working since then?
I didn't fully understand your question, more details please.
Sorry for the so late response, but it worked with me and many guys also contacted me reporting that it worked as well.
Thank you for passing by, really appreciate this :DBut as I can grab from the back of my memory that I tested the procedure in my code the other day and it gave the expected number, 10542 as stated in the sender source file.and yes, buf holds the most significant byte.I worked yours also quickly on a white paper and I believe it gives the same result. Please notify my if I'm still getting something wrong.Thank you again, it seems you just signed up to put these precious comments :D :D
Yes We CAN BUS With Arduino in 30 Seconds!
Yes We CAN BUS With Arduino in 30 Seconds!View Instructable »
SadView Instructable »