Is used for 4-digit 7-SEG module with TM1637 chip

Dependents:   WMG

Fork of DigitDisplay by Seeed Studio

Files at this revision

API Documentation at this revision

Comitter:
mkkharel
Date:
Fri Sep 09 05:26:16 2016 +0000
Parent:
0:d3173c8bfd48
Commit message:
Expanded the number of characters

Changed in this revision

DigitDisplay.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d3173c8bfd48 -r cae630b12d63 DigitDisplay.cpp
--- a/DigitDisplay.cpp	Sat Feb 08 05:42:09 2014 +0000
+++ b/DigitDisplay.cpp	Fri Sep 09 05:26:16 2016 +0000
@@ -37,12 +37,15 @@
 #define DIGIT_NULL   0x00
 #define DIGIT_MINUS  0x40
 
-const uint8_t DIGIT_TABLE[] = {0x3f, 0x06, 0x5b, 0x4f,
+const uint8_t DIGIT_TABLE[] = {0x3f, 0x06, 0x5b, 0x4f, // 0000 0110 0101 1011
                               0x66, 0x6d, 0x7d, 0x07,
                               0x7f, 0x6f, 0x77, 0x7c,
-                              0x39, 0x5e, 0x79, 0x71
+                              0x39, 0x5e, 0x79, 0x71,
+                              0x6d 
                              }; //0~9,A,b,C,d,E,F
-
+                                // TEST    
+                                //SENT          0010 1101
+                                //SET
 
 inline uint8_t conv(uint8_t n)
 {