Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Imported from Ice-Tube, for use with DOW / DateLong / DOW DateLong mo…
…des.
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
const uint8_t alphatable[] PROGMEM = { | ||
0xFA, /* a */ | ||
0x3E, /* b */ | ||
0x1A, /* c */ | ||
0x7A, /* d */ | ||
0xDE, /* e */ | ||
0x8E, /* f */ | ||
0xF6, /* g */ | ||
0x2E, /* h */ | ||
0x60, /* i */ | ||
0x78, /* j */ | ||
0xAE, //k | ||
0x1C, // l | ||
0xAA, // m | ||
0x2A, // n | ||
0x3A, // o | ||
0xCE, //p | ||
0xF3, // q | ||
0x0A, //r | ||
0xB6, //s | ||
0x1E, //t | ||
0x38, //u | ||
0x38, //v // fix? | ||
0xB8, //w | ||
0x6E, //x | ||
0x76, // y | ||
0xDA, //z | ||
/* more */ | ||
}; | ||
PGM_P alphatable_p PROGMEM = alphatable; | ||
|
||
const uint8_t numbertable[] PROGMEM = { | ||
0xFC /* 0 */, | ||
0x60 /* 1 */, | ||
0xDA /* 2 */, | ||
0xF2 /* 3 */, | ||
0x66 /* 4 */, | ||
0xB6 /* 5 */, | ||
0xBE, /* 6 */ | ||
0xE0, /* 7 */ | ||
0xFE, /* 8 */ | ||
#ifdef FEATURE_9 | ||
// Normal 7-segment "9" digit looks the same as letter "g". | ||
// "This notation is ambiguous but the meaning will be clear in context." - Hungerford, "Algebra" | ||
0xF6, /* 9 */ | ||
#else | ||
// ladyada's version of "9" is non-standard but distinct from letter "g". | ||
0xE6, /* 9 */ | ||
#endif | ||
}; | ||
PGM_P numbertable_p PROGMEM = numbertable; |