Now can display a monochrome image from byte array + added slow/fast init display routine
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
#include "network.hpp"
|
||||
#include "provider.hpp"
|
||||
|
||||
#include "test_image.h"
|
||||
|
||||
static const char *TAG = "ClientMain";
|
||||
|
||||
extern "C" void app_main()
|
||||
@@ -76,7 +78,8 @@ extern "C" void app_main()
|
||||
ESP_LOGI(TAG, "Initializing EPD");
|
||||
epd_init();
|
||||
epd_init_display();
|
||||
epd_clear(epd_color_t::WHITE);
|
||||
// epd_clear(epd_color::WHITE);
|
||||
epd_draw_bitmap(epd_color::WHITE, test_image);
|
||||
epd_refresh();
|
||||
epd_shutdown_display();
|
||||
|
||||
|
||||
+3002
-4001
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user