Clear up Arduino examples for all Arduino boards

This commit is contained in:
Anson He
2020-12-10 17:10:14 +08:00
committed by Baozhu Zuo
parent 3ff9e1b4c3
commit c11356b4e5
13 changed files with 162 additions and 45 deletions
@@ -16,8 +16,8 @@
// the cs pin of the version after v1.1 is default to D9
// v0.9b and v1.0 is default D10
const int SPI_CS_PIN = BCM8;
const int CAN_INT_PIN = BCM25;
const int SPI_CS_PIN = 9;
const int CAN_INT_PIN = 2;
#ifdef CAN_2518FD
mcp2518fd CAN(SPI_CS_PIN); // Set CS pin