Skip to content

Commit d62f7d8

Browse files
authored
Update simple-audio-player.md
Changed constant 4 with static SDCARD_SS_PIN
1 parent 9789649 commit d62f7d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/tutorials/generic/simple-audio-player/simple-audio-player.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ void setup()
149149
150150
Serial.print("Initializing SD card...");
151151
152-
if (!SD.begin(4)) {
152+
if (!SD.begin(SDCARD_SS_PIN)) {
153153
154154
Serial.println(" failed!");
155155
@@ -213,4 +213,4 @@ If the code is not working, there are some common issues we can troubleshoot:
213213

214214
## Conclusion
215215

216-
In this example, we have learned how to create a simple audio player using the AudioZero library! If you want to extend this project, take a look at the [Weather Audio Notifier](https://docs.arduino.cc/tutorials/zero/weather-audio-notifier) tutorial to create a project that notifies you of weather changes.
216+
In this example, we have learned how to create a simple audio player using the AudioZero library! If you want to extend this project, take a look at the [Weather Audio Notifier](https://docs.arduino.cc/tutorials/zero/weather-audio-notifier) tutorial to create a project that notifies you of weather changes.

0 commit comments

Comments
 (0)