CAN-Bus-Shield program implementation

Hey guys. For about 3 weeks I am working on a project in our university which contains to build about five can-bus shields and writing a protocol for transmitting and receiving
Data like barometric pressure.(Its a project in which we build an aircraft )Well after building and testing the hardware with simple programs I got stuck on writing a code for not just two CAN interfaces but about four. :sweat_smile: This code should include filters and masks which make the nodes easier to communicate.

Now my Question to the community: Do u have any experience with such a project? Do u have any Idea of an possible implementation?
I just need an example to imagine how it could looks like.

Thanks a lot ahead. :slight_smile:

You are not going to get any help until you...

• Indicate which shield you have.

• Post your code.

• Describe what you are trying to accomplish and what you've done that worked.

Srry for that. :~

I am using a MCP 2515 CAN BUS Shield and an Arduino AtMega 328P.
My library is in the attachement.

I dont have any Code.... thats why am asking for help.
Thanks

mcp_can.zip (16.2 KB)

For about 3 weeks I am working on a project in our university which contains to build about five can-bus shields and writing a protocol for transmitting and receiving
Data like barometric pressure.

You've spent three weeks writing a protocol and

I dont have any Code

What have you been doing?