Use the STM32F411 Nucleo Board, Nucleo Sensor Shield, WIZnet5500 Ethernet to upload temperature data to M2X
Dependencies: M2XStreamClient Nucleo_Sensor_Shield WIZnet_Library jsonlite mbed
Fork of M2X_Nucleo411_ESP8266-wifi by
Diff: main.cpp
- Revision:
- 4:3c1d712dcc48
- Parent:
- 3:694a1a67b156
- Child:
- 5:b3bcb048a5a5
--- 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() {