M2X sample code using SocketModem for Cellular or Wifi access
Dependencies: SocketModem jsonlite mbed
Diff: main.cpp
- Revision:
- 2:afb751c338f7
- Parent:
- 1:b12a128aae0e
- Child:
- 3:f1bc76493377
--- a/main.cpp Sat Jan 04 06:27:12 2014 +0000 +++ b/main.cpp Sat Jan 04 06:36:18 2014 +0000 @@ -23,7 +23,7 @@ serial->baud(115200); Transport::setTransport(Transport::CELLULAR); Cellular* cell = Cellular::getInstance(); - cell->init(serial); + cell->init(serial, PTA4, PTC9); int max_tries = 5; int i;