Xinyuan-LilyGO / LilyGo-EPD47

GNU General Public License v3.0
379 stars 119 forks source link

How to use `epd_draw_frame_1bit()`? #45

Open jockm opened 3 years ago

jockm commented 3 years ago

epd_driver.h describes a function called epd_draw_frame_1bit with a signature of:

void IRAM_ATTR epd_draw_frame_1bit(Rect_t area, uint8_t *ptr,
                                   enum DrawMode mode, int time)

Is this a public function? What is the correct way to use it? My application is monochrome so being able to keep a mono canvas and sending that directly would be really useful