2-Channel CAN-BUS(FD) Shield for Raspberry Pi example for C programming

I would like to use C programming with the “Seeed 2-Channel CAN-BUS(FD) Shield for Raspberry Pi”. The hardware is installed and working with Python3, but I need to integrate this HAT with another program already written in C. Can you provide an example to access this device with C?

We tested it using cangen and candump.Both tools are written in C, which is source code.The following is the source address, you can refer to.

Great I will take a look at it. I thank you for the quick reply.

The guy name “Baozhu” means great support in Chinese. :joy: