Skip to content

Commit

Permalink
revert debugging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vroland committed Sep 4, 2024
1 parent e884db8 commit 812a5fc
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions examples/dragon/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

#include "ED097TC2.h"
#include "dragon.h"
#include "epd_highlevel.h"
#include "epdiy.h"
Expand All @@ -28,25 +27,14 @@ void idf_loop() {

epd_copy_to_framebuffer(dragon_area, dragon_data, epd_hl_get_framebuffer(&hl));

epd_draw_base(
dragon_area,
epd_hl_get_framebuffer(&hl),
dragon_area,
MODE_GC16 | MODE_PACKING_2PPB | PREVIOUSLY_WHITE,
temperature,
NULL,
NULL,
&ed097tc2
);

// enum EpdDrawError _err = epd_hl_update_screen(&hl, MODE_GC16, temperature);
enum EpdDrawError _err = epd_hl_update_screen(&hl, MODE_GC16, temperature);
epd_poweroff();

vTaskDelay(100000);
vTaskDelay(1000);
}

void idf_setup() {
epd_init(&DEMO_BOARD, &ED097TC2, EPD_LUT_1K);
epd_init(&DEMO_BOARD, &ED097TC2, EPD_LUT_64K);
epd_set_vcom(1560);
hl = epd_hl_init(EPD_BUILTIN_WAVEFORM);
}
Expand Down

0 comments on commit 812a5fc

Please sign in to comment.