-
-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] Example file for filter #77
Comments
MCP2515 or ESP32? If MCP2515, see #47 where I fixed a couple of things that might be getting in your way. |
Its ESP32 + a MPC2515 as transceiver, the issue i have is that if i read the CAN every loop without delay, it works fine, but if i only read it when its needed (~10ms) it always return the same value, its like a buffer or something is getting stuck. I have setup a can testing using the pcan program (with a peak transceiver), sending several uneeded data (simulating what i will get when i connect to a vehicle). I tried the filtering, and i'm not sure if its working, but the issue is the same as before implementing it. the only ID i care about is 0x12, so i used CAN.filter(0x12, 0x1FFFFFFF); in setup. |
I'm closing this, as i have managed to make it work and added a PR for a new example. |
A example for how to use the filter would be really appreciated, i cant get it working :(
The text was updated successfully, but these errors were encountered: