FRDM-K64F, Avnet M14A2A, Grove Shield, to create smart home system. In use with AT&Ts M2x & Flow.
Dependencies: mbed FXOS8700CQ MODSERIAL
Diff: main.cpp
- Revision:
- 63:90d7c69993cd
- Parent:
- 61:f6b93129f954
- Child:
- 64:09004cd610df
--- a/main.cpp Mon Aug 01 19:31:22 2016 +0000 +++ b/main.cpp Mon Aug 01 20:19:58 2016 +0000 @@ -1,7 +1,6 @@ #include "mbed.h" #include <cctype> #include <string> -#include "SerialBuffered.h" #include "config_me.h" #include "sensors.h" #include "cell_modem.h" @@ -9,7 +8,7 @@ I2C i2c(PTC11, PTC10); //SDA, SCL -- define the I2C pins being used MODSERIAL pc(USBTX, USBRX, 256, 256); // tx, rx with default tx, rx buffer sizes -SerialBuffered mdm(PTD3, PTD2, 4096); +MODSERIAL mdm(PTD3, PTD2, 4096, 4096); DigitalOut led_green(LED_GREEN); DigitalOut led_red(LED_RED); DigitalOut led_blue(LED_BLUE);