Davi512
Davi512
Ok what about when I need to filter two ID,s?
I need data from 0x308 and 0x608. When I set like this, I recive once 608 then only 308... What I do wrong? ` mcp2515.setConfigMode(); mcp2515.setFilterMask(MCP2515::MASK0, false, 0x7FF); mcp2515.setFilterMask(MCP2515::MASK1, false,...
I use this and can filter only one id, I dont know what is wrong when I type 0x308 I recieve 308 only. I need 608 and 308 mcp2515.setConfigMode(); mcp2515.setFilterMask(MCP2515::MASK0,...
Any one can help?
You done it? I also need a filter
> I added the dual filter. Where?
You mean this ? "virtual int filters(int id1, int mask1, int id2, int mask2);" SO I can use filter for 2 ID's? What about 3 or more? Some mask?
Ok, what about filtering by mask? Maybe this way is better for more ID's?
I use filter because I have a lot of ID's and I lose some of them. I tried oncallback but the cpu is restart without filter
I use callback and write data to LCD and is ok. But when I run sample callback receive and uart my cpu restart after moment 