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

setPins() for rx/tx and cs/irq? #139

Open
atestani opened this issue Jun 14, 2024 · 1 comment
Open

setPins() for rx/tx and cs/irq? #139

atestani opened this issue Jun 14, 2024 · 1 comment

Comments

@atestani
Copy link

I am using an MCP2515 on an ESP32 and writing code in PlatformIO/VSCode with the Arduino framework. I need to set both rx/tx and cs/irq from the defaults. I see in the API.md that there are two calls to setPins() for both pairs of pins. How does the library know which set of pins I am defining?

@alastaira
Copy link

That depends on whether you're targetting ESP32 or AVR architecture.

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