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

Arduino DUE Issue #91

Open
swarren21 opened this issue Apr 20, 2023 · 1 comment
Open

Arduino DUE Issue #91

swarren21 opened this issue Apr 20, 2023 · 1 comment

Comments

@swarren21
Copy link

I seem to be having a problem with interfacing the MCP2515 library with the Arduino DUE. A couple of issue threads mention commenting out the lines:

MCP2515::MCP2515(const uint8_t _CS)
{
//SPI.begin();
SPICS = _CS;
pinMode(SPICS, OUTPUT);
//endSPI();
}

However I have tried this and it still isn't working. I have no problem getting two UNO's to communicate via the MCP2515, but whenever I try with the DUE it never works. Am I missing something here?

@AlessioSavelli
Copy link

Read the last .cpp and .h modification (You have to make the modifications manually yourself on your libraries) and try the latest modifications of the example sketch by implementing the suggested changes in the comments.
https://github.com/autowp/arduino-mcp2515/pulls

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

2 participants