When I try to compile the output field is filled with error messages like "MCP_ANY " not defined. I have the libraries exactly as suggested in the page there.
Post your annotated schematic showing exactly how you have wired it. Show all connections, power, ground and power sources. Show any external components as well.
Thanks . The problem was the Longan Labs version ... and unless you pointed out there was no way to know that. Or I missed it somewhere. Now that it compiled OK , I can get on with the project instead of searching for the elusive MCP_ANY
@UKHeliBob ... Apologies !! Normally I try to give as much info as possible but in this case I really did not know which was the offending CAN library ( I had a few ) and the Error screen ....well I was swamped by the amount of errors it threw up !! So tried to get help by referring to the library . Thanks . It compiles fine now. ( Its a Seed CAN shield on a Mega 2560 )
Now that I have been able to cross the first stage and check out send / receive CAN frames , was just wondering if anyone has had success with the standard UDS implementation ? I have a controller that listens on 0x1BDA08F1 and sends response back on 0x1BDAF108. With queries resulting in Single frame responses, there should be no issue. But the problem as expected is with queries that result in Multi Frame queries. For now I am restricting myself to SIDs 0x10 and 0x22 !