浏览代码

Fix Tutorial 1-05

dds
PaulStoffregen 7 年前
父节点
当前提交
909537ca1d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 查看文件

@@ -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);

正在加载...
取消
保存