Stephen Davis
/
BT_Hub
Library set up as dummy module on mbed to mimic Nordic.
comms.h@2:9ab591cf81b8, 2016-12-13 (annotated)
- Committer:
- Stephen_NewVistas
- Date:
- Tue Dec 13 00:20:29 2016 +0000
- Revision:
- 2:9ab591cf81b8
- Parent:
- 0:226550611f0d
everything commented . now going to strip out mbed stuff.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Stephen_NewVistas | 0:226550611f0d | 1 | #ifndef COMMS_H |
Stephen_NewVistas | 0:226550611f0d | 2 | #define COMMS_H |
Stephen_NewVistas | 0:226550611f0d | 3 | |
Stephen_NewVistas | 0:226550611f0d | 4 | #include "mbed.h" |
Stephen_NewVistas | 0:226550611f0d | 5 | |
Stephen_NewVistas | 0:226550611f0d | 6 | //global hardware |
Stephen_NewVistas | 0:226550611f0d | 7 | extern I2C i2c; |
Stephen_NewVistas | 0:226550611f0d | 8 | extern Serial pc; |
Stephen_NewVistas | 0:226550611f0d | 9 | extern Serial bus; |
Stephen_NewVistas | 0:226550611f0d | 10 | |
Stephen_NewVistas | 0:226550611f0d | 11 | |
Stephen_NewVistas | 0:226550611f0d | 12 | void initComms(); |
Stephen_NewVistas | 0:226550611f0d | 13 | |
Stephen_NewVistas | 0:226550611f0d | 14 | |
Stephen_NewVistas | 0:226550611f0d | 15 | void debugLog( char* fmt, ...); |
Stephen_NewVistas | 0:226550611f0d | 16 | |
Stephen_NewVistas | 0:226550611f0d | 17 | #endif |