Russell Shomberg
/
shomberg_hw_6
HW6 for OCE560
Fork of shomberg_hw_5 by
Diff: SegDisplay.h
- Revision:
- 13:fa74bf0c3b8d
- Parent:
- 12:ea407dcaff78
--- a/SegDisplay.h Thu Oct 25 22:43:36 2018 +0000 +++ b/SegDisplay.h Tue Oct 30 14:08:21 2018 +0000 @@ -4,8 +4,12 @@ #include "mbed.h" // INPUTS -BusOut Seg1(p12,p13,p14,p15,p16,p17,p18,p19); //01 02 03 04 05 06 07 08 09 10 -BusOut Seg2(p21,p22,p23,p24,p25,p26,p27,p28); //E D CC C DP B A CC F G +// Initialized in cpp file +//BusOut Seg1(p12,p13,p14,p15,p16,p17,p18,p19); //01 02 03 04 05 06 07 08 09 10 +//BusOut Seg2(p21,p22,p23,p24,p25,p26,p27,p28); //E D CC C DP B A CC F G + +//int ones; // ones digit of output +//int tens; // tens digit of output char SegConvert(int SegValue);