SensorCube-Firmware/include/epaper.h

19 lines
501 B
C
Raw Permalink Normal View History

2024-06-16 16:00:19 +02:00
#ifndef EPAPER_H
#define EPAPER_H
2024-07-06 16:51:46 +02:00
#include "timeseries.h"
2024-06-16 16:00:19 +02:00
#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);
2024-07-06 16:51:46 +02:00
void epaper_plot(uint16_t x, uint16_t y, uint16_t w, uint16_t h, timeseries_t *timeseries, uint32_t time_tick_interval);
2024-06-16 16:00:19 +02:00
2024-07-06 16:51:46 +02:00
void epaper_draw_and_hibernate(epaper_callback cb, bool full_refresh);
2024-06-16 16:00:19 +02:00
#endif