Implement Phase 7C local status dashboard
Add fixed status icons, OLED dimming and wake behavior, lowercase glyphs, and access-point metadata tracking. Update validation guidance, roadmap status, and provide an icon layout mockup with licensing.
This commit is contained in:
+27
-4
@@ -29,7 +29,7 @@ typedef struct {
|
||||
uint8_t columns[5];
|
||||
} glyph_t;
|
||||
|
||||
/* Compact 5x7 ASCII subset: lower-case input maps to upper-case glyphs. */
|
||||
/* Compact project-owned 5x7 ASCII subset with distinct upper/lower-case glyphs. */
|
||||
static const glyph_t s_glyphs[] = {
|
||||
{' ', {0x00, 0x00, 0x00, 0x00, 0x00}},
|
||||
{'!', {0x00, 0x00, 0x5f, 0x00, 0x00}},
|
||||
@@ -75,6 +75,32 @@ static const glyph_t s_glyphs[] = {
|
||||
{'X', {0x63, 0x14, 0x08, 0x14, 0x63}},
|
||||
{'Y', {0x03, 0x04, 0x78, 0x04, 0x03}},
|
||||
{'Z', {0x61, 0x51, 0x49, 0x45, 0x43}},
|
||||
{'a', {0x20, 0x54, 0x54, 0x54, 0x78}},
|
||||
{'b', {0x7f, 0x48, 0x44, 0x44, 0x38}},
|
||||
{'c', {0x38, 0x44, 0x44, 0x44, 0x20}},
|
||||
{'d', {0x38, 0x44, 0x44, 0x48, 0x7f}},
|
||||
{'e', {0x38, 0x54, 0x54, 0x54, 0x18}},
|
||||
{'f', {0x08, 0x7e, 0x09, 0x01, 0x02}},
|
||||
{'g', {0x0c, 0x52, 0x52, 0x52, 0x3e}},
|
||||
{'h', {0x7f, 0x08, 0x04, 0x04, 0x78}},
|
||||
{'i', {0x00, 0x44, 0x7d, 0x40, 0x00}},
|
||||
{'j', {0x20, 0x40, 0x44, 0x3d, 0x00}},
|
||||
{'k', {0x7f, 0x10, 0x28, 0x44, 0x00}},
|
||||
{'l', {0x00, 0x41, 0x7f, 0x40, 0x00}},
|
||||
{'m', {0x7c, 0x04, 0x18, 0x04, 0x78}},
|
||||
{'n', {0x7c, 0x08, 0x04, 0x04, 0x78}},
|
||||
{'o', {0x38, 0x44, 0x44, 0x44, 0x38}},
|
||||
{'p', {0x7c, 0x14, 0x14, 0x14, 0x08}},
|
||||
{'q', {0x08, 0x14, 0x14, 0x18, 0x7c}},
|
||||
{'r', {0x7c, 0x08, 0x04, 0x04, 0x08}},
|
||||
{'s', {0x48, 0x54, 0x54, 0x54, 0x20}},
|
||||
{'t', {0x04, 0x3f, 0x44, 0x40, 0x20}},
|
||||
{'u', {0x3c, 0x40, 0x40, 0x20, 0x7c}},
|
||||
{'v', {0x1c, 0x20, 0x40, 0x20, 0x1c}},
|
||||
{'w', {0x3c, 0x40, 0x30, 0x40, 0x3c}},
|
||||
{'x', {0x44, 0x28, 0x10, 0x28, 0x44}},
|
||||
{'y', {0x0c, 0x50, 0x50, 0x50, 0x3c}},
|
||||
{'z', {0x44, 0x64, 0x54, 0x4c, 0x44}},
|
||||
};
|
||||
|
||||
static i2c_master_bus_handle_t s_bus;
|
||||
@@ -212,9 +238,6 @@ static bool panel_geometry(local_display_panel_t panel, uint8_t *origin_y, uint8
|
||||
|
||||
static const glyph_t *find_glyph(char character)
|
||||
{
|
||||
if (character >= 'a' && character <= 'z') {
|
||||
character = (char)(character - ('a' - 'A'));
|
||||
}
|
||||
for (size_t index = 0U; index < sizeof(s_glyphs) / sizeof(s_glyphs[0]); ++index) {
|
||||
if (s_glyphs[index].character == character) {
|
||||
return &s_glyphs[index];
|
||||
|
||||
Reference in New Issue
Block a user