Russell Shomberg
/
shomberg_hw_6
HW6 for OCE560
Fork of shomberg_hw_5 by
SegDisplay.h@11:42914083ac70, 2018-10-25 (annotated)
- Committer:
- rshomberg
- Date:
- Thu Oct 25 18:58:41 2018 +0000
- Revision:
- 11:42914083ac70
- Parent:
- 9:da0b72918880
- Child:
- 12:ea407dcaff78
compiles, but using extern
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rshomberg | 9:da0b72918880 | 1 | #ifndef SEGDISPLAY_H |
rshomberg | 9:da0b72918880 | 2 | #define SEGDISPLAY_H |
rshomberg | 9:da0b72918880 | 3 | |
rshomberg | 9:da0b72918880 | 4 | #include "mbed.h" |
rshomberg | 9:da0b72918880 | 5 | |
rshomberg | 9:da0b72918880 | 6 | // INPUTS |
rshomberg | 11:42914083ac70 | 7 | extern BusOut Seg1; //01 02 03 04 05 06 07 08 09 10 |
rshomberg | 11:42914083ac70 | 8 | extern BusOut Seg2; //E D CC C DP B A CC F G |
rshomberg | 9:da0b72918880 | 9 | |
rshomberg | 9:da0b72918880 | 10 | char SegConvert(int SegValue); |
rshomberg | 9:da0b72918880 | 11 | |
rshomberg | 9:da0b72918880 | 12 | #endif |