4 Commits

Author SHA1 Message Date
rjbatista@gmail.com
dcd7df0bea Version 1.5.1 2011-12-04 18:40:50 +00:00
rjbatista@gmail.com
a8bcd661c8 Version 1.5.1 2011-12-04 18:40:01 +00:00
rjbatista@gmail.com
7260c88f7d ISSUE #7: New character data in default font for '*' 2011-12-04 18:31:51 +00:00
rjbatista@gmail.com
7c6678133c Minor optimization 2011-12-04 18:29:34 +00:00
3 changed files with 7 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
Version 1.5.1
- ISSUE #7: New character data in default font for '*';
- Minor optimization on inverted TM1638.
Version 1.5.0 Version 1.5.0
- support for inverted module; - support for inverted module;

View File

@@ -53,9 +53,5 @@ byte InvertedTM1638::getButtons()
void InvertedTM1638::sendChar(byte pos, byte data, boolean dot) void InvertedTM1638::sendChar(byte pos, byte data, boolean dot)
{ {
byte n = data; TM1638::sendChar(7 - pos, data & 0xC0 | (data & 0x07) << 3 | (data & 0x38) >> 3, dot);
n = n & 128 | n & 64 | (n & 4) << 3 | (n & 2) << 3 | (n & 1) << 3 | (n & 32) >> 3 | (n & 16) >> 3 | (n & 8) >> 3;
TM1638::sendChar(7 - pos, n, dot);
} }

View File

@@ -74,7 +74,7 @@ const byte FONT_DEFAULT[] = {
0b00000010, // (39) ' 0b00000010, // (39) '
0b00110000, // (40) ( 0b00110000, // (40) (
0b00000110, // (41) ) 0b00000110, // (41) )
0b00000000, // (42) * 0b01100011, // (42) *
0b00000000, // (43) + 0b00000000, // (43) +
0b00000100, // (44) , 0b00000100, // (44) ,
0b01000000, // (45) - 0b01000000, // (45) -