Dynamic Lighting Lib. of 7Seg-LED (add DP) x4. Features: - Unified Anode/Cathode and NPN/PNP sw. - Non-use wait(); Useing Interrupt Timer. - Modulates Brightness with PWM. - Display Hex. - Using BusOut(s) of Digits(4) and Segments(8). - Sinmple Interface of Class.
Revision 1:e89aae394d29, committed 2018-04-18
- Comitter:
- AkinoriHashimoto
- Date:
- Wed Apr 18 09:18:11 2018 +0000
- Parent:
- 0:51d1da4a6b6a
- Commit message:
- change seg '9'.; d-seg added. (0x67 -> 0x6F)
Changed in this revision
LED7segX4.cpp | Show annotated file Show diff for this revision Revisions of this file |
LED7segX4.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 51d1da4a6b6a -r e89aae394d29 LED7segX4.cpp --- a/LED7segX4.cpp Wed Apr 11 09:18:20 2018 +0000 +++ b/LED7segX4.cpp Wed Apr 18 09:18:11 2018 +0000 @@ -46,7 +46,7 @@ _def7seg[6]= 0x7D; _def7seg[7]= 0x27; _def7seg[8]= 0x7F; - _def7seg[9]= 0x67; // 9 + _def7seg[9]= 0x6F; // 9 _def7seg[10]= 0x77; // A _def7seg[11]= 0x7C; // b _def7seg[12]= 0x39; // C
diff -r 51d1da4a6b6a -r e89aae394d29 LED7segX4.h --- a/LED7segX4.h Wed Apr 11 09:18:20 2018 +0000 +++ b/LED7segX4.h Wed Apr 18 09:18:11 2018 +0000 @@ -4,7 +4,7 @@ * Features: * - Unified Anode/Cathode common 7Segs, and NPN/PNP switchings. * - Using BusOut(s) of Digits(0-3) and Segments(A-G,DP). - * - Sinmple Interface of Class. + * - Simple Interface of Class. * - Non-use wait(); Useing Interrupt Timer: Ticker and Timeut. * - Modulates Brightness; You Can Control of Periodic-Time and Duty. * - Display Hex(0-9,A-F) of 4 Digit; Using char[4].