device-epd/include/image.h

22 lines
334 B
C
Raw Normal View History

#ifndef IMAGE_H
#define IMAGE_H
#include <Arduino.h>
2020-03-02 19:58:40 +00:00
typedef struct
{
size_t format;
int x;
int y;
int w;
int h;
bool dithering;
} structImageProcess;
2020-03-20 19:04:41 +00:00
void setupImage();
void ImageNew(int x, int y, int w, int h, bool dithering);
void ImageWriteBuffer(uint8_t buff[], size_t c);
void ImageFlushBuffer();
2020-03-02 19:58:40 +00:00
#endif /* IMAGE_H */