A simple project for sending button input up to AT&T Flow
Dependencies: FXOS8700CQ MODSERIAL mbed
For instructions on using this program, see the AT&T Starter Kit tutorial on it.
Diff: hardware.h
- Revision:
- 64:09004cd610df
- Parent:
- 63:90d7c69993cd
- Child:
- 67:11db02bb93e1
diff -r 90d7c69993cd -r 09004cd610df hardware.h --- 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