You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-10Lines changed: 18 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -44,26 +44,33 @@ required by the host Feather board will also be required.
44
44
45
45
The included examples sketches will walk you through all of the features of the library.
46
46
They can be used on all platforms, but they default to WiFi. To change between platforms,
47
-
you will need to change two lines of code in the example. It is recommended that you start with
48
-
one of the Adafruit WiFi feathers before moving on to Cellular or Ethernet.
47
+
you will need to change two lines of code in the `config.h` tab of the example.
48
+
It is recommended that you start with one of the Adafruit WiFi feathers before
49
+
moving on to cellular or ethernet.
49
50
50
-
The examples below demonstrate how to switch between platforms.
51
+
For all examples, you will need to set `IO_USERNAME` and `IO_KEY` in the `config.h` tab.
52
+
53
+
The following sections demonstrate how to switch between WiFi, cellular, and ethernet.
51
54
52
55
### WiFi (ESP8266, M0 WINC1500, WICED)
53
56
54
-
If you are using the included examples, you do not need to change anything for the Adafruit WiFi Feathers. All WiFi based Feathers (ESP8266, M0 WiFi, WICED) will work with the examples out of the box.
57
+
If you are using the included examples, you do not need to change anything for the Adafruit WiFi Feathers.
58
+
All WiFi based Feathers (ESP8266, M0 WiFi, WICED) will work with the examples out of the box.
59
+
60
+
You will need to add your WiFi information to the `WIFI_SSID` and `WIFI_PASS` defines in the `config.h` tab.
55
61
56
62
### Cellular (32u4 FONA)
57
63
58
-
For FONA, you will only need to change from the default WiFi constructor to the FONA specific constructor. The rest of the sketch remains the same.
64
+
For FONA, you will only need to change from the default WiFi constructor to the FONA specific constructor in the `config.h` tab.
65
+
The rest of the sketch remains the same.
59
66
60
-
You will need to change these lines:
67
+
You will need to comment out these WiFi lines in `config.h`:
For Ethernet, you will only need to change from the default WiFi constructor to the Ethernet specific constructor. The rest of the sketch remains the same.
98
+
For Ethernet, you will only need to change from the default WiFi constructor to the Ethernet specific constructor in the `config.h` tab.
99
+
The rest of the sketch remains the same.
92
100
93
-
You will need to change these lines:
101
+
You will need to comment out these WiFi lines in `config.h`:
0 commit comments