17 lines
459 B
C
17 lines
459 B
C
|
#ifndef EPAPER_H
|
||
|
#define EPAPER_H
|
||
|
|
||
|
#include <GxEPD2_BW.h>
|
||
|
#include "GxEPD2_display_selection_new_style.h"
|
||
|
|
||
|
typedef void (*epaper_callback)(GxEPD2_DISPLAY_CLASS<GxEPD2_DRIVER_CLASS, MAX_HEIGHT(GxEPD2_DRIVER_CLASS)> *display);
|
||
|
|
||
|
void epaper_init(void);
|
||
|
void epaper_test(void);
|
||
|
|
||
|
//void epaper_plot(uint16_t x, uint16_t y, uint16_t w, uint16_t h, timeseries_t *timeseries, uint32_t time_tick_interval);
|
||
|
|
||
|
void epaper_draw_and_hibernate(epaper_callback cb);
|
||
|
|
||
|
#endif
|