Browse Source

Fix Tutorial 1-05

dds
PaulStoffregen 7 years ago
parent
commit
909537ca1d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/Tutorial/Part_1_05_Do_More_While_Playing/Part_1_05_Do_More_While_Playing.ino

+ 1
- 1
examples/Tutorial/Part_1_05_Do_More_While_Playing/Part_1_05_Do_More_While_Playing.ino View File

@@ -47,7 +47,7 @@ void setup() {
sgtl5000_1.volume(0.5);
SPI.setMOSI(SDCARD_MOSI_PIN);
SPI.setSCK(SDCARD_SCK_PIN);
if (!(SD.begin(SDCARD_SCK_PIN))) {
if (!(SD.begin(SDCARD_CS_PIN))) {
while (1) {
Serial.println("Unable to access the SD card");
delay(500);

Loading…
Cancel
Save