Russell Shomberg
/
shomberg_hw_6
HW6 for OCE560
Fork of shomberg_hw_5 by
SegDisplay.h@9:da0b72918880, 2018-10-25 (annotated)
- Committer:
- rshomberg
- Date:
- Thu Oct 25 18:12:33 2018 +0000
- Revision:
- 9:da0b72918880
- Child:
- 11:42914083ac70
does not compile
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 | 9:da0b72918880 | 7 | BusOut Seg1(p12,p13,p14,p15,p16,p17,p18,p19); //01 02 03 04 05 06 07 08 09 10 |
rshomberg | 9:da0b72918880 | 8 | BusOut Seg2(p21,p22,p23,p24,p25,p26,p27,p28); //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 |