Final Version of food controller
Dependencies: MMA8451Q TSI mbed
Fork of foodcontroller_NoWiFi by
Diff: main.cpp
- Revision:
- 9:de6dd11d89ba
- Parent:
- 8:047d427da574
- Child:
- 10:c0514aae862c
--- a/main.cpp Fri Jun 10 12:05:09 2016 +0000 +++ b/main.cpp Fri Jun 10 12:07:02 2016 +0000 @@ -60,9 +60,14 @@ dev.printf("AT+CIPMUX=1\r\n"); //Allow multiple connections wait(2); - dev.printf("AT+CIPSTART=0,\"TCP\",\"192.168.1.6\",5050\r\n"); //Open connection with the server + dev.printf("AT+CIPSTART=2,\"TCP\",\"192.168.1.6\",5050\r\n"); //Open connection with the server + //Testing connection wait(2); + dev.printf("AT+CIPSEND=2,4\r\n"); + wait(2); + + dev.printf("hi\n\r"); }