Longan-Labs / Arduino_CAN_BUS_MCP2515

Arduino CAN Bus library, MCP2515/MCP2551
https://www.longan-labs.cc/
MIT License
128 stars 372 forks source link

Filters and Masks #4

Closed asd12345 closed 1 year ago

asd12345 commented 10 years ago

hi, i am new to github so i am not quite sure this is the best way to comunicate. My question is, can you make a exapmle where you would use fliters and masks for CAN massages. For example, you have two arduino's comunicating via CAN bus, one is only sending messages (messages with extended ID's) and the other is supposed to read only messages with specific ID's.

Thanks

sidney2007 commented 1 year ago

https://github.com/Longan-Labs/Arduino_CAN_BUS_MCP2515/blob/master/examples/set_mask_filter_recv/set_mask_filter_recv.ino