mirror of
https://github.com/WeActStudio/WeActStudio.EpaperModule.git
synced 2026-08-16 13:13:45 +02:00
update panel & chip datasheet
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#include "sys.h" //dke test use
|
||||
#include "delay.h" //dke test use
|
||||
#define SPI_OUT 1
|
||||
#define SPI_IN 0
|
||||
#define Epaper_EN PAout(12) // Epaper_EN
|
||||
#define Epaper_BUSY GPIO_ReadInputDataBit(GPIOC, GPIO_Pin_9) //
|
||||
#define Epaper_RESET PCout(8) // RESET
|
||||
#define Epaper_BS PAout(8) // BS
|
||||
#define Epaper_DC PCout(7) // D/C#
|
||||
#define Epaper_CS PCout(6) //
|
||||
#define SPI_CLK PBout(13) //
|
||||
#define SPI_MOSI PBout(15) // SDO
|
||||
|
||||
|
||||
#define MAX_LINE_BYTES 16
|
||||
#define MAX_COLUMN_BYTES 296
|
||||
#define ALLSCREEN_BYTES 4736
|
||||
|
||||
#define X_Addr_Start 0x01
|
||||
#define X_Addr_End 0x10
|
||||
#define Y_Addr_Start_H 0x01
|
||||
#define Y_Addr_Start_L 0x27
|
||||
#define Y_Addr_End_H 0x00
|
||||
#define Y_Addr_End_L 0x00
|
||||
|
||||
Reference in New Issue
Block a user