Skip to content

Commit 9e52556

Browse files
committed
Error message example
1 parent 4fc2875 commit 9e52556

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/SnapClientEthernet/SnapClientEthernet.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ IPAddress ip(192, 168, 1, 177);
1919
void setup() {
2020
Serial.begin(115200);
2121

22+
// The ESP32 supports a flexible definition of the SPI pins
2223
SPI.begin(ETH_SCLK, ETH_MISO, ETH_MOSI);
2324

2425
// start the Ethernet connection:
@@ -37,7 +38,7 @@ void setup() {
3738

3839
// start snap client
3940
if (!client.begin()) {
40-
Serial.print("Connection error");
41+
Serial.print("Could not connect to snap server");
4142
while (true);
4243
}
4344
}

0 commit comments

Comments
 (0)