FRDM-K64F, Avnet M14A2A, Grove Shield, to create smart home system. In use with AT&Ts M2x & Flow.
Dependencies: mbed FXOS8700CQ MODSERIAL
Diff: hardware.h
- Revision:
- 64:09004cd610df
- Parent:
- 63:90d7c69993cd
- Child:
- 67:11db02bb93e1
--- a/hardware.h Mon Aug 01 20:19:58 2016 +0000 +++ b/hardware.h Mon Aug 01 23:32:55 2016 +0000 @@ -1,9 +1,11 @@ #ifndef Hardware_H_ #define Hardware_H_ #include "MODSERIAL.h" + extern I2C i2c; //SDA, SCL -- define the I2C pins being used extern MODSERIAL pc; //UART to USB host extern MODSERIAL mdm; //UART to WNC modem +//extern SerialBuffered mdm; //UART to WNC modem //Un-comment the definition below if you want to use the USB rx for another purpose. //otherwise the USB rx will be used to receive virtual sensor data from Avnet's @@ -34,4 +36,6 @@ #define DEF #endif +#define PRINTF pc.printf + #endif