forked from Eddddddddy/Songguo-PTS200
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a45f07a
commit f766819
Showing
4 changed files
with
127 additions
and
3 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
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,102 @@ | ||
#include <Arduino.h> | ||
|
||
#define status_icon_width 32 | ||
#define status_icon_height 32 | ||
|
||
// ERROR | ||
const uint8_t status_icon_error[] = { | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x38, 0x00, 0x00, 0x0E, 0x78, 0x00, 0x00, 0x0F, 0xF8, 0x00, 0x80, 0x0F, | ||
0xF0, 0x01, 0xC0, 0x07, 0xE0, 0x03, 0xE0, 0x03, 0xC0, 0x07, 0xF0, 0x01, | ||
0x80, 0x0F, 0xF8, 0x00, 0x00, 0x1F, 0x7C, 0x00, 0x00, 0x3E, 0x3E, 0x00, | ||
0x00, 0x7C, 0x1F, 0x00, 0x00, 0xF8, 0x0F, 0x60, 0x80, 0xF3, 0x67, 0x78, | ||
0xF8, 0xE7, 0xF3, 0x7F, 0x80, 0xF3, 0x67, 0x78, 0x00, 0xF8, 0x0F, 0x60, | ||
0x00, 0x7C, 0x1F, 0x00, 0x00, 0x3E, 0x3E, 0x00, 0x00, 0x1F, 0x7C, 0x00, | ||
0x80, 0x0F, 0xF8, 0x00, 0xC0, 0x07, 0xF0, 0x01, 0xE0, 0x03, 0xE0, 0x03, | ||
0xF0, 0x01, 0xC0, 0x07, 0xF8, 0x00, 0x80, 0x0F, 0x78, 0x00, 0x00, 0x0F, | ||
0x38, 0x00, 0x00, 0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; | ||
|
||
// OFF | ||
const uint8_t status_icon_off[] = { | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0xF0, 0xF1, 0xF7, 0x07, 0xF8, 0xF3, 0xF7, 0x07, 0xBC, 0x77, 0x70, 0x00, | ||
0x1C, 0x77, 0x70, 0x00, 0x1C, 0xF7, 0xF3, 0x03, 0x1C, 0xF7, 0xF3, 0x03, | ||
0x1C, 0x77, 0x70, 0x00, 0xBC, 0x77, 0x70, 0x00, 0xF8, 0x73, 0x70, 0x00, | ||
0xF0, 0x71, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, | ||
0x80, 0xFF, 0x1F, 0x78, 0xF8, 0xFF, 0xFF, 0x7F, 0x80, 0xFF, 0x1F, 0x78, | ||
0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, }; | ||
|
||
// SLEEP | ||
const uint8_t status_icon_sleep[] = { | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x78, 0x10, 0x00, 0x00, 0x40, 0x08, | ||
0x00, 0x00, 0x20, 0x04, 0x00, 0xF0, 0x23, 0x02, 0x00, 0x00, 0x12, 0x1E, | ||
0x00, 0x00, 0x09, 0x00, 0x00, 0x80, 0x78, 0x00, 0xF8, 0x8F, 0x00, 0x00, | ||
0x00, 0x4C, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, | ||
0x00, 0xF3, 0x03, 0x00, 0x80, 0x01, 0x00, 0x00, 0xC0, 0x00, 0x00, 0x00, | ||
0x40, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, | ||
0x18, 0x00, 0x00, 0x00, 0xF8, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, | ||
0x80, 0xFF, 0x1F, 0x78, 0xF8, 0xFF, 0xFF, 0x7F, 0x80, 0xFF, 0x1F, 0x78, | ||
0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, }; | ||
|
||
// BOOST | ||
const uint8_t status_icon_boost[] = { | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, | ||
0x30, 0x70, 0x60, 0x00, 0x30, 0x78, 0x78, 0x00, 0x70, 0x7C, 0x7C, 0x00, | ||
0xF8, 0x7C, 0x3E, 0x00, 0xF8, 0x7D, 0x1F, 0x00, 0xF8, 0x7D, 0x1F, 0x00, | ||
0xF8, 0xFF, 0x0F, 0x00, 0xF8, 0xFF, 0x0F, 0x00, 0xF0, 0xFF, 0x0F, 0x00, | ||
0xF0, 0xFF, 0x07, 0x00, 0xF0, 0xFF, 0x07, 0x00, 0xF0, 0xEF, 0x07, 0x00, | ||
0xF0, 0xC7, 0x07, 0x00, 0xE0, 0xC7, 0x0F, 0x00, 0xC0, 0xC3, 0x0F, 0x00, | ||
0xC0, 0xC3, 0x0F, 0x00, 0xC0, 0xC3, 0x0F, 0x00, 0xC0, 0xC3, 0x07, 0x00, | ||
0xC0, 0xC3, 0x07, 0x00, 0x80, 0xC3, 0x07, 0x00, 0x80, 0xE7, 0x03, 0x00, | ||
0x00, 0xE7, 0x00, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, | ||
0x80, 0xFF, 0x1F, 0x78, 0xF8, 0xFF, 0xFF, 0x7F, 0x80, 0xFF, 0x1F, 0x78, | ||
0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, }; | ||
|
||
// WORK | ||
const uint8_t status_icon_work[] = { | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, | ||
0x80, 0xFF, 0x1F, 0x78, 0xF8, 0xFF, 0xFF, 0x7F, 0x80, 0xFF, 0x1F, 0x78, | ||
0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, }; | ||
|
||
// ON | ||
const uint8_t status_icon_heat[] = { | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x90, 0x04, 0x00, 0x00, 0x90, 0x04, 0x00, 0x00, 0x20, 0x09, 0x00, 0x00, | ||
0x20, 0x09, 0x00, 0x00, 0x40, 0x12, 0x00, 0x00, 0x40, 0x12, 0x00, 0x00, | ||
0x40, 0x12, 0x00, 0x00, 0x40, 0x12, 0x00, 0x00, 0x20, 0x09, 0x00, 0x00, | ||
0x90, 0x04, 0x00, 0x00, 0x90, 0x04, 0x00, 0x00, 0x48, 0x02, 0x00, 0x00, | ||
0x48, 0x02, 0x00, 0x00, 0x48, 0x02, 0x00, 0x00, 0x90, 0x04, 0x00, 0x00, | ||
0x90, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, | ||
0x80, 0xFF, 0x1F, 0x78, 0xF8, 0xFF, 0xFF, 0x7F, 0x80, 0xFF, 0x1F, 0x78, | ||
0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, }; | ||
|
||
// HOLD | ||
const uint8_t status_icon_hold[] = { | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x1C, 0x00, 0x00, | ||
0x00, 0x08, 0x00, 0x00, 0x40, 0x2A, 0x01, 0x00, 0x60, 0x1C, 0x03, 0x00, | ||
0x80, 0x88, 0x00, 0x00, 0x00, 0x5D, 0x00, 0x00, 0x20, 0x2A, 0x02, 0x00, | ||
0x48, 0x5D, 0x09, 0x00, 0xFC, 0xF7, 0x1F, 0x00, 0x48, 0x5D, 0x09, 0x00, | ||
0x20, 0x2A, 0x02, 0x00, 0x00, 0x5D, 0x00, 0x00, 0x80, 0x88, 0x00, 0x00, | ||
0x60, 0x1C, 0x03, 0x00, 0x40, 0x2A, 0x01, 0x00, 0x00, 0x08, 0x00, 0x00, | ||
0x00, 0x1C, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, | ||
0x80, 0xFF, 0x1F, 0x78, 0xF8, 0xFF, 0xFF, 0x7F, 0x80, 0xFF, 0x1F, 0x78, | ||
0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, }; |
Binary file not shown.
Binary file not shown.