Battery level displaying
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
#define COLOR_SECONDARY 0x667f
|
||||
#define COLOR_SUCCESS 0x3766
|
||||
#define COLOR_ERROR 0xf226
|
||||
#define COLOR_BG 0xFFFF
|
||||
#define COLOR_FG 0x0000
|
||||
#define COLOR_FG 0xFFFF
|
||||
#define COLOR_BG 0x0000
|
||||
#define COLOR_OFF 0x0000
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@ void GFX_DrawChar(
|
||||
uint16_t GFX_GetTextWidth(const char *text, const GFXfont *font, int8_t letter_spacing);
|
||||
|
||||
// Alignment: 0 => Left, 1 => Center, 2 => Right
|
||||
void GFX_DrawText(
|
||||
uint16_t GFX_DrawText(
|
||||
uint16_t x,
|
||||
uint16_t y,
|
||||
const char *text,
|
||||
|
||||
Reference in New Issue
Block a user