adamczykpiotr / pico-mcp2515

Raspberry Pi Pico MCP2515 CAN-Bus Interface Library
MIT License
70 stars 24 forks source link

How to use this library with pico? #2

Closed samuelleecong closed 1 year ago

samuelleecong commented 1 year ago

Hi, I have tried downloading the library and adding it as a zip library, but it is returning me this error.

image

Could you advice on how I could go about using your library for the raspberry pi pico? Thanks in advance.

adamczykpiotr commented 1 year ago

Hello!

This library is not meant to be used with Arduino IDE but in a CMAKE-built project, like all the examples from https://github.com/raspberrypi/pico-examples

I'll try to add an example some time in the future as more people might face this issue. Thanks for bringing it to my attention.