e-Paper
This commit is contained in:
parent
d56d7b2d4f
commit
fc4f54334d
37 changed files with 14608 additions and 1504 deletions
32
STM32/STM32-F103ZET6/User/e-Paper/EPD_2in13g.h
Normal file
32
STM32/STM32-F103ZET6/User/e-Paper/EPD_2in13g.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/*****************************************************************************
|
||||
* | File : EPD_2in13g.h
|
||||
* | Author : Waveshare team
|
||||
* | Function : 2inch13 e-paper (G)
|
||||
* | Info :
|
||||
*----------------
|
||||
* | This version: V1.0
|
||||
* | Date : 2023-04-07
|
||||
* | Info :
|
||||
* -----------------------------------------------------------------------------
|
||||
******************************************************************************/
|
||||
#ifndef __EPD_2IN13G_H_
|
||||
#define __EPD_2IN13G_H_
|
||||
|
||||
#include "DEV_Config.h"
|
||||
|
||||
// Display resolution
|
||||
#define EPD_2IN13G_WIDTH 122
|
||||
#define EPD_2IN13G_HEIGHT 250
|
||||
|
||||
// Color
|
||||
#define EPD_2IN13G_BLACK 0x0
|
||||
#define EPD_2IN13G_WHITE 0x1
|
||||
#define EPD_2IN13G_YELLOW 0x2
|
||||
#define EPD_2IN13G_RED 0x3
|
||||
|
||||
void EPD_2IN13G_Init(void);
|
||||
void EPD_2IN13G_Clear(UBYTE color);
|
||||
void EPD_2IN13G_Display(UBYTE *Image);
|
||||
void EPD_2IN13G_Sleep(void);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue