File tree Expand file tree Collapse file tree 7 files changed +11
-6
lines changed Expand file tree Collapse file tree 7 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ void setup() {
5252 Serial.println (" * is a card inserted?" );
5353 Serial.println (" * is your wiring correct?" );
5454 Serial.println (" * did you change the chipSelect pin to match your shield or module?" );
55+ Serial.println (" Note: press reset button on the board and reopen this Serial Monitor after fixing your issue!" );
5556 while (1 );
5657 } else {
5758 Serial.println (" Wiring is correct and a card is present." );
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ void setup() {
4141 Serial.println (" 1. is a card inserted?" );
4242 Serial.println (" 2. is your wiring correct?" );
4343 Serial.println (" 3. did you change the chipSelect pin to match your shield or module?" );
44- Serial.println (" Note: press reset or reopen this Serial Monitor after fixing your issue!" );
44+ Serial.println (" Note: press reset button on the board and reopen this Serial Monitor after fixing your issue!" );
4545 while (true );
4646 }
4747
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ void setup() {
3838 Serial.println (" 1. is a card inserted?" );
3939 Serial.println (" 2. is your wiring correct?" );
4040 Serial.println (" 3. did you change the chipSelect pin to match your shield or module?" );
41- Serial.println (" Note: press reset or reopen this Serial Monitor after fixing your issue!" );
41+ Serial.println (" Note: press reset button on the board and reopen this Serial Monitor after fixing your issue!" );
4242 while (true );
4343 }
4444
Original file line number Diff line number Diff line change @@ -33,7 +33,11 @@ while (!Serial);
3333 Serial.print (" Initializing SD card..." );
3434
3535 if (!SD.begin (chipSelect)) {
36- Serial.println (" initialization failed!" );
36+ Serial.println (" initialization failed. Things to check:" );
37+ Serial.println (" 1. is a card inserted?" );
38+ Serial.println (" 2. is your wiring correct?" );
39+ Serial.println (" 3. did you change the chipSelect pin to match your shield or module?" );
40+ Serial.println (" Note: press reset button on the board and reopen this serial monitor after fixing your issue!" );
3741 while (1 );
3842 }
3943 Serial.println (" initialization done." );
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ void setup() {
6464 Serial.println (" 1. is a card inserted?" );
6565 Serial.println (" 2. is your wiring correct?" );
6666 Serial.println (" 3. did you change the chipSelect pin to match your shield or module?" );
67- Serial.println (" Note: press reset or reopen this Serial Monitor after fixing your issue!" );
67+ Serial.println (" Note: press reset button on the board and reopen this Serial Monitor after fixing your issue!" );
6868 while (true );
6969 }
7070
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ void setup() {
3636 Serial.println (" 1. is a card inserted?" );
3737 Serial.println (" 2. is your wiring correct?" );
3838 Serial.println (" 3. did you change the chipSelect pin to match your shield or module?" );
39- Serial.println (" Note: press reset or reopen this Serial Monitor after fixing your issue!" );
39+ Serial.println (" Note: press reset button on the board and reopen this Serial Monitor after fixing your issue!" );
4040 while (true );
4141 }
4242
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ void setup() {
4444 Serial.println (" 1. is a card inserted?" );
4545 Serial.println (" 2. is your wiring correct?" );
4646 Serial.println (" 3. did you change the chipSelect pin to match your shield or module?" );
47- Serial.println (" Note: press reset or reopen this Serial Monitor after fixing your issue!" );
47+ Serial.println (" Note: press reset button on the board and reopen this Serial Monitor after fixing your issue!" );
4848 while (true );
4949 }
5050
You can’t perform that action at this time.
0 commit comments