File tree 7 files changed +11
-6
lines changed
7 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ void setup() {
52
52
Serial.println (" * is a card inserted?" );
53
53
Serial.println (" * is your wiring correct?" );
54
54
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!" );
55
56
while (1 );
56
57
} else {
57
58
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() {
41
41
Serial.println (" 1. is a card inserted?" );
42
42
Serial.println (" 2. is your wiring correct?" );
43
43
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!" );
45
45
while (true );
46
46
}
47
47
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ void setup() {
38
38
Serial.println (" 1. is a card inserted?" );
39
39
Serial.println (" 2. is your wiring correct?" );
40
40
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!" );
42
42
while (true );
43
43
}
44
44
Original file line number Diff line number Diff line change @@ -33,7 +33,11 @@ while (!Serial);
33
33
Serial.print (" Initializing SD card..." );
34
34
35
35
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!" );
37
41
while (1 );
38
42
}
39
43
Serial.println (" initialization done." );
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ void setup() {
64
64
Serial.println (" 1. is a card inserted?" );
65
65
Serial.println (" 2. is your wiring correct?" );
66
66
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!" );
68
68
while (true );
69
69
}
70
70
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ void setup() {
36
36
Serial.println (" 1. is a card inserted?" );
37
37
Serial.println (" 2. is your wiring correct?" );
38
38
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!" );
40
40
while (true );
41
41
}
42
42
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ void setup() {
44
44
Serial.println (" 1. is a card inserted?" );
45
45
Serial.println (" 2. is your wiring correct?" );
46
46
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!" );
48
48
while (true );
49
49
}
50
50
You can’t perform that action at this time.
0 commit comments