Add the STM32 program: 1.64inch e-Paper (G), 3inch e-Paper (G), 7.3inch e-Paper (G) and 3.52inch e-Paper

This commit is contained in:
SSYYL 2022-07-28 18:08:09 +08:00
commit 34affe04fe
25 changed files with 11800 additions and 1161 deletions

View file

@ -0,0 +1,32 @@
/*****************************************************************************
* | File : EPD_1in64g.h
* | Author : Waveshare team
* | Function : 1.64inch e-paper (G)
* | Info :
*----------------
* | This version: V1.0
* | Date : 2022-07-14
* | Info :
* -----------------------------------------------------------------------------
******************************************************************************/
#ifndef __EPD_1IN64G_H_
#define __EPD_1IN64G_H_
#include "DEV_Config.h"
// Display resolution
#define EPD_1IN64G_WIDTH 168
#define EPD_1IN64G_HEIGHT 168
//colour
#define EPD_1IN64G_BLACK 0x00
#define EPD_1IN64G_WHITE 0x55
#define EPD_1IN64G_YELLOW 0xAA
#define EPD_1IN64G_RED 0xFF
void EPD_1IN64G_Init(void);
void EPD_1IN64G_Clear(UBYTE color);
void EPD_1IN64G_Display(UBYTE *Image);
void EPD_1IN64G_Sleep(void);
#endif