AT&T M2X example featuring FRDM-K64F and Seed Grove Wifi to stream the Accelerometer X, Y, Z-axis values
Dependencies: ESP8266Interface FXOS8700Q M2XStreamClient jsonlite mbed
Fork of frdm-k64F_Wifi_M2X_Acc by
Revision 4:3c1d712dcc48, committed 2015-12-11
- Comitter:
- mbedAustin
- Date:
- Fri Dec 11 00:25:01 2015 +0000
- Parent:
- 3:694a1a67b156
- Child:
- 5:2f6125e8ee48
- Commit message:
- made default wifi pins match K64F
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Dec 11 00:19:45 2015 +0000 +++ b/main.cpp Fri Dec 11 00:25:01 2015 +0000 @@ -18,9 +18,9 @@ char m2xKey[] = "<m2x api key>"; // Your M2X API Key or Master API Key /* -* ESP8266 Wifi Config +* ESP8266 Wifi Config, connect it to D0 on Seeed Grove shield */ -ESP8266Interface wifi(D8,D2,D3,"wifi-name","wifi-password",115200); // TX,RX,Reset,SSID,Password,Baud +ESP8266Interface wifi(D1,D0,D3,"wifi-name","wifi-password",115200); // TX,RX,Reset,SSID,Password,Baud int main() {