Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot declare variable 'CAN' to be of abstract type 'MCP_CAN' #106

Closed
mjat2020 opened this issue Jan 3, 2021 · 3 comments
Closed

cannot declare variable 'CAN' to be of abstract type 'MCP_CAN' #106

mjat2020 opened this issue Jan 3, 2021 · 3 comments

Comments

@mjat2020
Copy link

mjat2020 commented Jan 3, 2021

Describe the bug
cannot declare variable 'CAN' to be of abstract type 'MCP_CAN'

I got this error while compiling through arduino IDE while declaring the class object by this header file.

Reffered this code from https://www.electronicshub.org/arduino-mcp2515-can-bus-tutorial/

@mjat2020 mjat2020 changed the title Getting error while compiling through arduino IDE cannot declare variable 'CAN' to be of abstract type 'MCP_CAN' Jan 3, 2021
@Pillar1989
Copy link
Member

We have recently updated our code and I would suggest modifying it to accommodate the latest software. If you are not willing to modify anything, I suggest you are using this branch of the code.
https://github.com/Seeed-Studio/Seeed_Arduino_CAN/tree/old

@Ipsitakoley
Copy link

@Pillar1989 Can you please provide the link where we can get the latest library and sample code to accommodate the changes?

@Pillar1989
Copy link
Member

@Ipsitakoley master branch is the latest library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants