Adapt pins to the new board
This commit is contained in:
parent
6cbd3ae867
commit
2a785dd71d
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user