     }
     SERIAL.println("CAN BUS Shield init ok!");
 
-    attachInterrupt(0, MCP2515_ISR, FALLING); // start interrupt
+    attachInterrupt(digitalPinToInterrupt(interruptPin), MCP2515_ISR, FALLING); // start interrupt
 
 
     /*


MCP_CAN CAN(SPI_CS_PIN);                                    // Set CS pin


unsigned char flagRecv = 0;
unsigned char len = 0;
unsigned char buf[8];


/*********************************************************************************************************
  END FILE
*********************************************************************************************************/
