by Rob Toulson and Tim Wilmshurst from textbook "Fast and Effective Embedded Systems Design: Applying the ARM mbed"
HostIO.h@0:507436d37d5e, 2012-10-15 (annotated)
- Committer:
- robt
- Date:
- Mon Oct 15 21:23:48 2012 +0000
- Revision:
- 0:507436d37d5e
by Rob Toulson and Tim Wilmshurst from textbook "Fast and Effective Embedded Systems Design: Applying the ARM mbed"
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
robt | 0:507436d37d5e | 1 | /* Program Example 6.9: HostIO.h code for modular 7-seg keyboard controller |
robt | 0:507436d37d5e | 2 | */ |
robt | 0:507436d37d5e | 3 | #ifndef HOSTIO_H |
robt | 0:507436d37d5e | 4 | |
robt | 0:507436d37d5e | 5 | #define HOSTIO_H |
robt | 0:507436d37d5e | 6 | #include "mbed.h" |
robt | 0:507436d37d5e | 7 | |
robt | 0:507436d37d5e | 8 | extern Serial pc; // allow pc to be manipulated by other files |
robt | 0:507436d37d5e | 9 | |
robt | 0:507436d37d5e | 10 | void HostInit(void); // function prototype |
robt | 0:507436d37d5e | 11 | char GetKeyInput(void); // function prototype |
robt | 0:507436d37d5e | 12 | |
robt | 0:507436d37d5e | 13 | #endif |