MCP_CAN_lib icon indicating copy to clipboard operation
MCP_CAN_lib copied to clipboard

MCP_CAN Library

Results 8 MCP_CAN_lib issues
Sort by recently updated
recently updated
newest added

- fix clearMsg so buffer is actually cleared - fix setMsg to respect the len - try to prevent buffer overflows and always limit to MAX_CHAR_IN_MESSAGE

Having DEBUG_MODE set to 1 makes the library write to default serial, which can be unexpected if it's already used for other communication. This PR simply sets DEBUG_MODE define to...

Thank you for sharing useful project. How about to release this library for library manager of Arduino IDE? To do that, the following steps are required. 1. Add `library.properties` to...

This PR adds a new function, `resetOverflowErrors()`. It resets the overflow error bits (`MCP_EFLG_RX0OVR` and `MCP_EFLG_RX1OVR`) in the `MCP_EFLG` register, ensuring that these flags can be cleared after an overflow...

Hello. I modified SPI speed from the fixed value (10M) to the configurable with the `SPI_SPEED` definition in `mcp_can.h` . In my environment, SPI with the speed of 10M didn't...

The TIMEOUTVALUE macro currently has a hardcoded value of 2500 (microseconds), which limits the ability to use the library at lower CAN bus speeds (e.g. 10 kbps). At such speeds,...