From b8b9bb251c87934be7451265acaba0231f69f774 Mon Sep 17 00:00:00 2001 From: Phil Schatzmann Date: Mon, 25 Sep 2023 09:33:21 +0200 Subject: [PATCH] sd_begin.ino use PIN_AUDIO_KIT_SD_CARD_CS --- examples/sd_begin/sd_begin.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/sd_begin/sd_begin.ino b/examples/sd_begin/sd_begin.ino index c8defe5..c388295 100644 --- a/examples/sd_begin/sd_begin.ino +++ b/examples/sd_begin/sd_begin.ino @@ -17,7 +17,7 @@ AudioKit kit; void setup(){ Serial.begin(115200); - if(!SD.begin(kit.pinSpiCs(), AUDIOKIT_SD_SPI)){ + if(!SD.begin(PIN_AUDIO_KIT_SD_CARD_CS, AUDIOKIT_SD_SPI)){ Serial.println("Card Mount Failed"); return; } else {