We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41df1cf commit 1ad5aacCopy full SHA for 1ad5aac
src/main.ino
@@ -66,7 +66,6 @@ setup()
66
// digitalWrite(PIN_AUDIO_KIT_SD_CARD_CLK, 1);
67
68
print_logo();
69
- sd.begin();
70
display.begin();
71
display.showEmotion("smiley");
72
@@ -90,6 +89,7 @@ setup()
90
89
91
server.begin();
92
ipAddress = wiFiManager.getIPAddress().toString();
+ sd.begin();
93
}
94
95
src/sd.h
@@ -11,7 +11,7 @@ class SDCard
11
SDCard(int sdCSPin, int sdMISOPin, int sdMOSIPin, int sdCLKPin)
12
{
13
sd_CS = sdCSPin;
14
- sd_MISO = sdCSPin;
+ sd_MISO = sdMISOPin;
15
sd_MOSI = sdMOSIPin;
16
sd_CLK = sdCLKPin;
17
} // Constructor to initialize the SD Card
0 commit comments