add more fonts for version 1.0.0

This commit is contained in:
Terrence committed 2025-01-23 13:50:22 +08:00
1 parent a5d8db6bbb
commit 84f5674359
31 files changed
+176 -58410

No files matched your search

+5 -1
View File
@@ -16,6 +16,9 @@
#define TAG "KevinBoxBoard"
DECLARE_FONT(font_puhui_14_1);
DECLARE_FONT(font_awesome_14_1);
class KevinBoxBoard : public Ml307Board {
private:
i2c_master_bus_handle_t display_i2c_bus_;
@@ -193,7 +196,8 @@ public:
}
virtual Display* GetDisplay() override {
static Ssd1306Display display(display_i2c_bus_, DISPLAY_WIDTH, DISPLAY_HEIGHT, DISPLAY_MIRROR_X, DISPLAY_MIRROR_Y);
static Ssd1306Display display(display_i2c_bus_, DISPLAY_WIDTH, DISPLAY_HEIGHT, DISPLAY_MIRROR_X, DISPLAY_MIRROR_Y,
&font_puhui_14_1, &font_awesome_14_1);
return &display;
}