2023-03-10 02:20:01 +08:00

33 lines
886 B
C

/*****************************************************************************
* | File : EPD_3in0g.h
* | Author : Waveshare team
* | Function : 3inch e-paper (G)
* | Info :
*----------------
* | This version: V1.0
* | Date : 2022-07-15
* | Info :
* -----------------------------------------------------------------------------
******************************************************************************/
#ifndef __EPD_3IN0G_H_
#define __EPD_3IN0G_H_
#include "EPD_Common.h"
// Display resolution
#define EPD_3IN0G_WIDTH 168
#define EPD_3IN0G_HEIGHT 400
// Color
#define EPD_3IN0G_BLACK 0x0
#define EPD_3IN0G_WHITE 0x1
#define EPD_3IN0G_YELLOW 0x2
#define EPD_3IN0G_RED 0x3
void EPD_3IN0G_Init(void);
void EPD_3IN0G_Clear(UBYTE color);
void EPD_3IN0G_Display(UBYTE *Image);
void EPD_3IN0G_Sleep(void);
#endif