by Rob Toulson and Tim Wilmshurst from textbook "Fast and Effective Embedded Systems Design: Applying the ARM mbed"
SegDisplay.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.7: SegDisplay.h file for modular 7-seg keyboard controller |
robt | 0:507436d37d5e | 2 | */ |
robt | 0:507436d37d5e | 3 | #ifndef SEGDISPLAY_H |
robt | 0:507436d37d5e | 4 | #define SEGDISPLAY_H |
robt | 0:507436d37d5e | 5 | |
robt | 0:507436d37d5e | 6 | #include "mbed.h" |
robt | 0:507436d37d5e | 7 | |
robt | 0:507436d37d5e | 8 | extern BusOut Seg1; // allow Seg1 to be manipulated by other files |
robt | 0:507436d37d5e | 9 | extern BusOut Seg2; // allow Seg2 to be manipulated by other files |
robt | 0:507436d37d5e | 10 | |
robt | 0:507436d37d5e | 11 | void SegInit(void); // function prototype |
robt | 0:507436d37d5e | 12 | char SegConvert(char SegValue); // function prototype |
robt | 0:507436d37d5e | 13 | |
robt | 0:507436d37d5e | 14 | #endif |