mirror of
https://github.com/tsl0922/EPD-nRF5.git
synced 2025-12-15 17:08:13 +08:00
update emulator
This commit is contained in:
16
EPD/UC8176.c
16
EPD/UC8176.c
@@ -90,10 +90,6 @@ void UC8176_Force_Temp(int8_t value)
|
||||
EPD_WriteByte(value);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
function : Turn On Display
|
||||
parameter:
|
||||
******************************************************************************/
|
||||
void UC8176_Refresh(void)
|
||||
{
|
||||
NRF_LOG_DEBUG("[EPD]: refresh begin\n");
|
||||
@@ -106,10 +102,6 @@ void UC8176_Refresh(void)
|
||||
NRF_LOG_DEBUG("[EPD]: refresh end\n");
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
function : Initialize the e-Paper register
|
||||
parameter:
|
||||
******************************************************************************/
|
||||
void UC8176_Init()
|
||||
{
|
||||
EPD_Reset(HIGH, 10);
|
||||
@@ -149,10 +141,6 @@ static void UC8176_Write_RAM(uint8_t cmd, uint8_t value)
|
||||
}
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
function : Clear screen
|
||||
parameter:
|
||||
******************************************************************************/
|
||||
void UC8176_Clear(void)
|
||||
{
|
||||
UC8176_Write_RAM(CMD_DTM1, 0xFF);
|
||||
@@ -209,10 +197,6 @@ void UC8176_Write_Image(uint8_t *black, uint8_t *color, uint16_t x, uint16_t y,
|
||||
EPD_WriteCommand(CMD_PTOUT); // partial out
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
function : Enter sleep mode
|
||||
parameter:
|
||||
******************************************************************************/
|
||||
void UC8176_Sleep(void)
|
||||
{
|
||||
UC8176_PowerOff();
|
||||
|
||||
Reference in New Issue
Block a user