forked from LOWPROKB/zmk-config-zen-2
-
Notifications
You must be signed in to change notification settings - Fork 153
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
59d10a8
commit e1af393
Showing
30 changed files
with
1,311 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,4 @@ | ||
# | ||
# Copyright (c) 2022 Darryl deHaan | ||
# SPDX-License-Identifier: MIT | ||
# |
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,41 @@ | ||
/* | ||
* | ||
* Copyright (c) 2021 Darryl deHaan | ||
* SPDX-License-Identifier: MIT | ||
* | ||
*/ | ||
|
||
#include <lvgl.h> | ||
|
||
#ifndef LV_ATTRIBUTE_MEM_ALIGN | ||
#define LV_ATTRIBUTE_MEM_ALIGN | ||
#endif | ||
|
||
#ifndef LV_ATTRIBUTE_IMG_USB_CONNECTED | ||
#define LV_ATTRIBUTE_IMG_USB_CONNECTED | ||
#endif | ||
|
||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_IMG_USB_CONNECTED uint8_t USB_connected_map[] = { | ||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/ | ||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/ | ||
|
||
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, 0x0f, 0xff, 0xff, 0xc0, 0x00, 0x3f, | ||
0xff, 0xff, 0xc0, 0x00, 0xff, 0xff, 0xff, 0xc0, 0x01, 0xff, 0xff, 0xff, 0x80, 0x03, 0xff, 0xff, | ||
0xff, 0xfe, 0x07, 0xff, 0xff, 0xff, 0xff, 0x07, 0x1e, 0x30, 0x38, 0x07, 0x0f, 0x1c, 0x20, 0x38, | ||
0x07, 0x0f, 0x1c, 0x47, 0x10, 0xc3, 0x3e, 0x1c, 0x43, 0xf1, 0xc7, 0x7e, 0x3c, 0x60, 0x70, 0x0e, | ||
0x7e, 0x3c, 0x70, 0x30, 0x0e, 0x7e, 0x38, 0xfc, 0x33, 0xc7, 0xfe, 0x18, 0x8f, 0x23, 0x87, 0x0e, | ||
0x00, 0xc6, 0x20, 0x07, 0x0f, 0x01, 0xe0, 0x60, 0x0e, 0x0f, 0x87, 0xf0, 0xe0, 0x3e, 0x07, 0xff, | ||
0xff, 0xff, 0xfc, 0x07, 0xff, 0xff, 0xff, 0xf0, 0x03, 0xff, 0xff, 0xfe, 0x00, 0x01, 0xff, 0xff, | ||
0xfc, 0x00, 0x00, 0x7f, 0xff, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
}; | ||
|
||
const lv_img_dsc_t USB_connected = { | ||
.header.always_zero = 0, | ||
.header.w = 40, | ||
.header.h = 31, | ||
.data_size = 164, | ||
.header.cf = LV_IMG_CF_INDEXED_1BIT, | ||
.data = USB_connected_map, | ||
}; |
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,43 @@ | ||
/* | ||
* | ||
* Copyright (c) 2021 Darryl deHaan | ||
* SPDX-License-Identifier: MIT | ||
* | ||
*/ | ||
|
||
#include <lvgl.h> | ||
|
||
#ifndef LV_ATTRIBUTE_MEM_ALIGN | ||
#define LV_ATTRIBUTE_MEM_ALIGN | ||
#endif | ||
|
||
#ifndef LV_ATTRIBUTE_IMG_BATT_0 | ||
#define LV_ATTRIBUTE_IMG_BATT_0 | ||
#endif | ||
|
||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATT_0 uint8_t | ||
batt_0_map[] = { | ||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/ | ||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/ | ||
|
||
0x00, 0x00, 0x7c, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, | ||
0x00, 0x01, 0xff, 0x00, 0x00, 0x00, 0x01, 0xff, 0x00, 0x00, 0x7f, 0xfd, 0xff, 0x7f, 0xf8, | ||
0xff, 0xfd, 0xff, 0x7f, 0xfc, 0xff, 0xfd, 0xff, 0x7f, 0xfc, 0xff, 0xfc, 0xfe, 0x7f, 0xfc, | ||
0xf0, 0x00, 0xfe, 0x00, 0x3f, 0xf0, 0x00, 0xfe, 0x00, 0x3f, 0xf0, 0x00, 0xfe, 0x00, 0x3f, | ||
0xf0, 0x00, 0xfe, 0x00, 0x3f, 0xf0, 0x00, 0xfe, 0x00, 0x0f, 0xf0, 0x00, 0x7c, 0x00, 0x0f, | ||
0xf0, 0x00, 0x7c, 0x00, 0x0f, 0xf0, 0x00, 0x7c, 0x00, 0x0f, 0xf0, 0x00, 0x7c, 0x00, 0x3f, | ||
0xf0, 0x00, 0x7c, 0x00, 0x3f, 0xf0, 0x00, 0x7c, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x3f, | ||
0xff, 0xff, 0x01, 0xff, 0xfc, 0xff, 0xff, 0x01, 0xff, 0xfc, 0xff, 0xfe, 0x7c, 0xff, 0xfc, | ||
0x7f, 0xfc, 0xfe, 0x7f, 0xf8, 0x00, 0x01, 0xff, 0x00, 0x00, 0x00, 0x01, 0xff, 0x00, 0x00, | ||
0x00, 0x01, 0xff, 0x00, 0x00, 0x00, 0x01, 0xff, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, | ||
0x00, 0x00, 0x7c, 0x00, 0x00, | ||
}; | ||
|
||
const lv_img_dsc_t batt_0 = { | ||
.header.always_zero = 0, | ||
.header.w = 40, | ||
.header.h = 31, | ||
.data_size = 163, | ||
.header.cf = LV_IMG_CF_INDEXED_1BIT, | ||
.data = batt_0_map, | ||
}; |
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,43 @@ | ||
/* | ||
* | ||
* Copyright (c) 2021 Darryl deHaan | ||
* SPDX-License-Identifier: MIT | ||
* | ||
*/ | ||
|
||
#include <lvgl.h> | ||
|
||
#ifndef LV_ATTRIBUTE_MEM_ALIGN | ||
#define LV_ATTRIBUTE_MEM_ALIGN | ||
#endif | ||
|
||
#ifndef LV_ATTRIBUTE_IMG_BATT_0_CHG | ||
#define LV_ATTRIBUTE_IMG_BATT_0_CHG | ||
#endif | ||
|
||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATT_0_CHG uint8_t | ||
batt_0_chg_map[] = { | ||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/ | ||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/ | ||
|
||
0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, | ||
0x00, 0x00, 0x01, 0xc0, 0x00, 0x00, 0x00, 0x03, 0x80, 0x00, 0x7f, 0xff, 0xf7, 0xbf, 0xf8, | ||
0xff, 0xff, 0xef, 0xbf, 0xfc, 0xff, 0xff, 0xdf, 0x7f, 0xfc, 0xff, 0xff, 0xbf, 0x7f, 0xfc, | ||
0xf0, 0x00, 0x7e, 0x00, 0x3f, 0xf0, 0x00, 0xfe, 0x00, 0x3f, 0xf0, 0x01, 0xfe, 0x00, 0x3f, | ||
0xf0, 0x03, 0xfc, 0x00, 0x3f, 0xf0, 0x07, 0xfc, 0x00, 0x0f, 0xf0, 0x0f, 0xff, 0xe0, 0x0f, | ||
0xf0, 0x1f, 0xff, 0xc0, 0x0f, 0xf0, 0x00, 0x7f, 0x80, 0x0f, 0xf0, 0x00, 0x7f, 0x00, 0x3f, | ||
0xf0, 0x00, 0xfe, 0x00, 0x3f, 0xf0, 0x00, 0xfc, 0x00, 0x3f, 0xf0, 0x01, 0xf8, 0x00, 0x3f, | ||
0xff, 0xfd, 0xf7, 0xff, 0xfc, 0xff, 0xfb, 0xef, 0xff, 0xfc, 0xff, 0xfb, 0xdf, 0xff, 0xfc, | ||
0x7f, 0xfb, 0xbf, 0xff, 0xf8, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, | ||
0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, | ||
0x00, 0x10, 0x00, 0x00, 0x00, | ||
}; | ||
|
||
const lv_img_dsc_t batt_0_chg = { | ||
.header.always_zero = 0, | ||
.header.w = 40, | ||
.header.h = 31, | ||
.data_size = 163, | ||
.header.cf = LV_IMG_CF_INDEXED_1BIT, | ||
.data = batt_0_chg_map, | ||
}; |
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,43 @@ | ||
/* | ||
* | ||
* Copyright (c) 2021 Darryl deHaan | ||
* SPDX-License-Identifier: MIT | ||
* | ||
*/ | ||
|
||
#include <lvgl.h> | ||
|
||
#ifndef LV_ATTRIBUTE_MEM_ALIGN | ||
#define LV_ATTRIBUTE_MEM_ALIGN | ||
#endif | ||
|
||
#ifndef LV_ATTRIBUTE_IMG_BATT_100 | ||
#define LV_ATTRIBUTE_IMG_BATT_100 | ||
#endif | ||
|
||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATT_100 uint8_t | ||
batt_100_map[] = { | ||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/ | ||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/ | ||
|
||
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, 0x7f, 0xff, 0xff, 0xff, 0xf8, | ||
0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, | ||
0xf0, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x3f, 0xf3, 0xff, 0xff, 0xff, 0x3f, | ||
0xf3, 0xff, 0xff, 0xff, 0x3f, 0xf3, 0xff, 0xff, 0xff, 0x0f, 0xf3, 0xff, 0xff, 0xff, 0x0f, | ||
0xf3, 0xff, 0xff, 0xff, 0x0f, 0xf3, 0xff, 0xff, 0xff, 0x0f, 0xf3, 0xff, 0xff, 0xff, 0x3f, | ||
0xf3, 0xff, 0xff, 0xff, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x3f, | ||
0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, | ||
0x7f, 0xff, 0xff, 0xff, 0xf8, 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, | ||
}; | ||
|
||
const lv_img_dsc_t batt_100 = { | ||
.header.always_zero = 0, | ||
.header.w = 40, | ||
.header.h = 31, | ||
.data_size = 163, | ||
.header.cf = LV_IMG_CF_INDEXED_1BIT, | ||
.data = batt_100_map, | ||
}; |
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,43 @@ | ||
/* | ||
* | ||
* Copyright (c) 2021 Darryl deHaan | ||
* SPDX-License-Identifier: MIT | ||
* | ||
*/ | ||
|
||
#include <lvgl.h> | ||
|
||
#ifndef LV_ATTRIBUTE_MEM_ALIGN | ||
#define LV_ATTRIBUTE_MEM_ALIGN | ||
#endif | ||
|
||
#ifndef LV_ATTRIBUTE_IMG_BATT_100_CHG | ||
#define LV_ATTRIBUTE_IMG_BATT_100_CHG | ||
#endif | ||
|
||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATT_100_CHG uint8_t | ||
batt_100_chg_map[] = { | ||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/ | ||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/ | ||
|
||
0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, | ||
0x00, 0x00, 0x01, 0xc0, 0x00, 0x00, 0x00, 0x03, 0x80, 0x00, 0x7f, 0xff, 0xf7, 0xbf, 0xf8, | ||
0xff, 0xff, 0xef, 0xbf, 0xfc, 0xff, 0xff, 0xdf, 0x7f, 0xfc, 0xff, 0xff, 0xbf, 0x7f, 0xfc, | ||
0xf0, 0x00, 0x7e, 0x00, 0x3f, 0xf0, 0x00, 0xfe, 0x00, 0x3f, 0xf3, 0xfd, 0xfe, 0xff, 0x3f, | ||
0xf3, 0xfb, 0xfd, 0xff, 0x3f, 0xf3, 0xf7, 0xfc, 0x07, 0x0f, 0xf3, 0xef, 0xff, 0xef, 0x0f, | ||
0xf3, 0xdf, 0xff, 0xdf, 0x0f, 0xf3, 0x80, 0x7f, 0xbf, 0x0f, 0xf3, 0xff, 0x7f, 0x7f, 0x3f, | ||
0xf3, 0xfe, 0xfe, 0xff, 0x3f, 0xf0, 0x00, 0xfc, 0x00, 0x3f, 0xf0, 0x01, 0xf8, 0x00, 0x3f, | ||
0xff, 0xfd, 0xf7, 0xff, 0xfc, 0xff, 0xfb, 0xef, 0xff, 0xfc, 0xff, 0xfb, 0xdf, 0xff, 0xfc, | ||
0x7f, 0xfb, 0xbf, 0xff, 0xf8, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, | ||
0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, | ||
0x00, 0x10, 0x00, 0x00, 0x00, | ||
}; | ||
|
||
const lv_img_dsc_t batt_100_chg = { | ||
.header.always_zero = 0, | ||
.header.w = 40, | ||
.header.h = 31, | ||
.data_size = 163, | ||
.header.cf = LV_IMG_CF_INDEXED_1BIT, | ||
.data = batt_100_chg_map, | ||
}; |
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,43 @@ | ||
/* | ||
* | ||
* Copyright (c) 2021 Darryl deHaan | ||
* SPDX-License-Identifier: MIT | ||
* | ||
*/ | ||
|
||
#include <lvgl.h> | ||
|
||
#ifndef LV_ATTRIBUTE_MEM_ALIGN | ||
#define LV_ATTRIBUTE_MEM_ALIGN | ||
#endif | ||
|
||
#ifndef LV_ATTRIBUTE_IMG_BATT_25 | ||
#define LV_ATTRIBUTE_IMG_BATT_25 | ||
#endif | ||
|
||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATT_25 uint8_t | ||
batt_25_map[] = { | ||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/ | ||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/ | ||
|
||
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, 0x7f, 0xff, 0xff, 0xff, 0xf8, | ||
0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, | ||
0xf0, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x3f, 0xf3, 0xfc, 0x00, 0x00, 0x3f, | ||
0xf3, 0xfc, 0x00, 0x00, 0x3f, 0xf3, 0xfc, 0x00, 0x00, 0x0f, 0xf3, 0xfc, 0x00, 0x00, 0x0f, | ||
0xf3, 0xfc, 0x00, 0x00, 0x0f, 0xf3, 0xfc, 0x00, 0x00, 0x0f, 0xf3, 0xfc, 0x00, 0x00, 0x3f, | ||
0xf3, 0xfc, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x3f, | ||
0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, | ||
0x7f, 0xff, 0xff, 0xff, 0xf8, 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, | ||
}; | ||
|
||
const lv_img_dsc_t batt_25 = { | ||
.header.always_zero = 0, | ||
.header.w = 40, | ||
.header.h = 31, | ||
.data_size = 163, | ||
.header.cf = LV_IMG_CF_INDEXED_1BIT, | ||
.data = batt_25_map, | ||
}; |
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,43 @@ | ||
/* | ||
* | ||
* Copyright (c) 2021 Darryl deHaan | ||
* SPDX-License-Identifier: MIT | ||
* | ||
*/ | ||
|
||
#include <lvgl.h> | ||
|
||
#ifndef LV_ATTRIBUTE_MEM_ALIGN | ||
#define LV_ATTRIBUTE_MEM_ALIGN | ||
#endif | ||
|
||
#ifndef LV_ATTRIBUTE_IMG_BATT_25_CHG | ||
#define LV_ATTRIBUTE_IMG_BATT_25_CHG | ||
#endif | ||
|
||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATT_25_CHG uint8_t | ||
batt_25_chg_map[] = { | ||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/ | ||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/ | ||
|
||
0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, | ||
0x00, 0x00, 0x01, 0xc0, 0x00, 0x00, 0x00, 0x03, 0x80, 0x00, 0x7f, 0xff, 0xf7, 0xbf, 0xf8, | ||
0xff, 0xff, 0xef, 0xbf, 0xfc, 0xff, 0xff, 0xdf, 0x7f, 0xfc, 0xff, 0xff, 0xbf, 0x7f, 0xfc, | ||
0xf0, 0x00, 0x7e, 0x00, 0x3f, 0xf0, 0x00, 0xfe, 0x00, 0x3f, 0xf3, 0xf9, 0xfe, 0x00, 0x3f, | ||
0xf3, 0xfb, 0xfc, 0x00, 0x3f, 0xf3, 0xf7, 0xfc, 0x00, 0x0f, 0xf3, 0xef, 0xff, 0xe0, 0x0f, | ||
0xf3, 0xdf, 0xff, 0xc0, 0x0f, 0xf3, 0x80, 0x7f, 0x80, 0x0f, 0xf3, 0xf8, 0x7f, 0x00, 0x3f, | ||
0xf3, 0xf8, 0xfe, 0x00, 0x3f, 0xf0, 0x00, 0xfc, 0x00, 0x3f, 0xf0, 0x01, 0xf8, 0x00, 0x3f, | ||
0xff, 0xfd, 0xf7, 0xff, 0xfc, 0xff, 0xfb, 0xef, 0xff, 0xfc, 0xff, 0xfb, 0xdf, 0xff, 0xfc, | ||
0x7f, 0xfb, 0xbf, 0xff, 0xf8, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, | ||
0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, | ||
0x00, 0x10, 0x00, 0x00, 0x00, | ||
}; | ||
|
||
const lv_img_dsc_t batt_25_chg = { | ||
.header.always_zero = 0, | ||
.header.w = 40, | ||
.header.h = 31, | ||
.data_size = 163, | ||
.header.cf = LV_IMG_CF_INDEXED_1BIT, | ||
.data = batt_25_chg_map, | ||
}; |
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,43 @@ | ||
/* | ||
* | ||
* Copyright (c) 2021 Darryl deHaan | ||
* SPDX-License-Identifier: MIT | ||
* | ||
*/ | ||
|
||
#include <lvgl.h> | ||
|
||
#ifndef LV_ATTRIBUTE_MEM_ALIGN | ||
#define LV_ATTRIBUTE_MEM_ALIGN | ||
#endif | ||
|
||
#ifndef LV_ATTRIBUTE_IMG_BATT_5 | ||
#define LV_ATTRIBUTE_IMG_BATT_5 | ||
#endif | ||
|
||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATT_5 uint8_t | ||
batt_5_map[] = { | ||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/ | ||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/ | ||
|
||
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, 0x7f, 0xff, 0xff, 0xff, 0xf8, | ||
0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, | ||
0xf0, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x3f, 0xf3, 0x00, 0x00, 0x00, 0x3f, | ||
0xf3, 0x00, 0x00, 0x00, 0x3f, 0xf3, 0x00, 0x00, 0x00, 0x0f, 0xf3, 0x00, 0x00, 0x00, 0x0f, | ||
0xf3, 0x00, 0x00, 0x00, 0x0f, 0xf3, 0x00, 0x00, 0x00, 0x0f, 0xf3, 0x00, 0x00, 0x00, 0x3f, | ||
0xf3, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x3f, | ||
0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, | ||
0x7f, 0xff, 0xff, 0xff, 0xf8, 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, | ||
}; | ||
|
||
const lv_img_dsc_t batt_5 = { | ||
.header.always_zero = 0, | ||
.header.w = 40, | ||
.header.h = 31, | ||
.data_size = 163, | ||
.header.cf = LV_IMG_CF_INDEXED_1BIT, | ||
.data = batt_5_map, | ||
}; |
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,43 @@ | ||
/* | ||
* | ||
* Copyright (c) 2021 Darryl deHaan | ||
* SPDX-License-Identifier: MIT | ||
* | ||
*/ | ||
|
||
#include <lvgl.h> | ||
|
||
#ifndef LV_ATTRIBUTE_MEM_ALIGN | ||
#define LV_ATTRIBUTE_MEM_ALIGN | ||
#endif | ||
|
||
#ifndef LV_ATTRIBUTE_IMG_BATT_50 | ||
#define LV_ATTRIBUTE_IMG_BATT_50 | ||
#endif | ||
|
||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATT_50 uint8_t | ||
batt_50_map[] = { | ||
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/ | ||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/ | ||
|
||
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, 0x7f, 0xff, 0xff, 0xff, 0xf8, | ||
0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, | ||
0xf0, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x3f, 0xf3, 0xff, 0xf0, 0x00, 0x3f, | ||
0xf3, 0xff, 0xf0, 0x00, 0x3f, 0xf3, 0xff, 0xf0, 0x00, 0x0f, 0xf3, 0xff, 0xf0, 0x00, 0x0f, | ||
0xf3, 0xff, 0xf0, 0x00, 0x0f, 0xf3, 0xff, 0xf0, 0x00, 0x0f, 0xf3, 0xff, 0xf0, 0x00, 0x3f, | ||
0xf3, 0xff, 0xf0, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x3f, | ||
0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xfc, | ||
0x7f, 0xff, 0xff, 0xff, 0xf8, 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, | ||
}; | ||
|
||
const lv_img_dsc_t batt_50 = { | ||
.header.always_zero = 0, | ||
.header.w = 40, | ||
.header.h = 31, | ||
.data_size = 163, | ||
.header.cf = LV_IMG_CF_INDEXED_1BIT, | ||
.data = batt_50_map, | ||
}; |
Oops, something went wrong.