 unsigned char len = 0;
 unsigned char rxBuf[8];
 
-MCP_CAN CAN0(9);                               // Set CS to pin 10
-
+#define CS 10                //!< chip select pin of MCP2515 CAN-Controller 
+MCP_CAN CAN0(CS);                               
 
 void setup()
 {
   Serial.begin(115200);
   
-  pinMode(9, OUTPUT);
-  pinMode(8, OUTPUT);
+  pinMode(CS, OUTPUT);
+  pinMode(8, OUTPUT);       //!< disable chip select of SD card reader (commonly pin 8)
   digitalWrite(8, HIGH);
   
   // Initialize MCP2515 running at 16MHz with a baudrate of 500kb/s and the masks and filters disabled.

// CAN Receive Example
//

#include <mcp_can.h>
#include <SPI.h>


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