We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a75d52a commit 1c1ade2Copy full SHA for 1c1ade2
src/MCP2515.h
@@ -12,7 +12,7 @@
12
13
#define MCP2515_DEFAULT_CLOCK_FREQUENCY 16e6
14
15
-#if defined(ARDUINO_ARCH_SAMD) && defined(USB_VID) && (USB_VID == 0x2341) && !defined(ARDUINO_SAMD_ZERO)
+#if defined(ARDUINO_ARCH_SAMD) && defined(PIN_SPI_MISO) && defined(PIN_SPI_MOSI) && defined(PIN_SPI_SCK) && (PIN_SPI_MISO == 10) && (PIN_SPI_MOSI == 8) && (PIN_SPI_SCK == 9)
16
// Arduino MKR board: MKR CAN shield CS is pin 3, INT is pin 7
17
#define MCP2515_DEFAULT_CS_PIN 3
18
#define MCP2515_DEFAULT_INT_PIN 7
0 commit comments