arduino-CAN icon indicating copy to clipboard operation
arduino-CAN copied to clipboard

Possibly missing packets?

Open alexvnesta opened this issue 3 years ago • 1 comments

I am using this library with an ESP32 and MCP2551. On my test bench, everything seems to work fine.

I am trying to detect when a steering wheel button is pressed. If I spam the button when everything is in the car, it is detected. But the message takes a while to be detected. If I just press the button regularly, it is not detected.

I'm using the example code to detect can messages, but I'm only interested in a select few. Does anyone have any suggestions on optimizing the code to detect just a handful of can IDs reliably?

Or is this a hardware issue?

Thanks, Alex

alexvnesta avatar Mar 13 '21 01:03 alexvnesta

Hi alex,

I work with the Onboard can controler on the ESP, and only add a tranciver. This combination works great for me. If you want to test out your setup with the Onboard ESP controler I can help you.

Petros144 avatar Mar 25 '21 15:03 Petros144