by Rob Toulson and Tim Wilmshurst from textbook "Fast and Effective Embedded Systems Design: Applying the ARM mbed"
Diff: SegDisplay.h
- Revision:
- 0:507436d37d5e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SegDisplay.h Mon Oct 15 21:23:48 2012 +0000 @@ -0,0 +1,14 @@ +/* Program Example 6.7: SegDisplay.h file for modular 7-seg keyboard controller + */ +#ifndef SEGDISPLAY_H +#define SEGDISPLAY_H + +#include "mbed.h" + +extern BusOut Seg1; // allow Seg1 to be manipulated by other files +extern BusOut Seg2; // allow Seg2 to be manipulated by other files + +void SegInit(void); // function prototype +char SegConvert(char SegValue); // function prototype + +#endif