Original code can be found here: https://github.com/KevinOConnor/can2040
Things done: Rewrote entire API to C++ class, change code style to lowerCamelCase, made it easier to use, added transmit/receive example
Original readme:
The can2040 project is a software CAN bus implementation for Raspberry Pi rp2040 micro-controllers. It enables an rp2040 chip to implement CAN bus using a standard CAN transceiver chip. The code supports reading and writing CAN 2.0B data frames at rates up to 1Mbit per second.
For further information see:
- Features: Details about this software CAN bus implementation.
- API: The can2040 programmer interface.
- Tools: Useful testing and deployment tools.
- Code Overview: Information on can2040 internals (for developers working on can2040 itself).
- Releases: History of can2040 releases.