Adapt pins to the new board

This commit is contained in:
Klemens Schölhorn 2018-06-08 23:13:42 +02:00
parent 6cbd3ae867
commit 2a785dd71d
1 changed files with 4 additions and 5 deletions

View File

@ -7,10 +7,10 @@
using MainButton = Button<150, 150>;
#define SD_ChipSelectPin 5
#define MainButtonPin 6
#define CoffeeLedPin 7
#define EegLedPin 8
#define SD_ChipSelectPin A0
#define MainButtonPin A3
#define CoffeeLedPin A2
#define EegLedPin A1
Debounce<20> debounce;
MainButton button;
@ -27,7 +27,6 @@ void setup(){
if (!SD.begin(SD_ChipSelectPin)) { // see if the card is present and can be initialized:
Serial.println("SD fail");
return; // don't do anything more if not
} else{
Serial.println("SD ok");
}