mirror of
https://github.com/jam422470459/EPD-nRF52-hema213.git
synced 2025-12-07 09:02:52 +08:00
fix SSD1619 temp read
This commit is contained in:
@@ -37,6 +37,8 @@ static void SSD1619_Update(uint8_t seq)
|
|||||||
|
|
||||||
int8_t SSD1619_Read_Temp(void)
|
int8_t SSD1619_Read_Temp(void)
|
||||||
{
|
{
|
||||||
|
SSD1619_Update(0xB1);
|
||||||
|
EPD_WaitBusy(HIGH, 500);
|
||||||
EPD_WriteCommand_SW(CMD_TSENSOR_READ);
|
EPD_WriteCommand_SW(CMD_TSENSOR_READ);
|
||||||
return (int8_t) EPD_ReadByte_SW();
|
return (int8_t) EPD_ReadByte_SW();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user