Merge 53cb7f2c51 into 83a6cffae7
This commit is contained in:
commit
176062d8f2
25 changed files with 233 additions and 79 deletions
|
|
@ -129,10 +129,9 @@ parameter:
|
|||
******************************************************************************/
|
||||
void EPD_2IN13BC_ReadBusy(void)
|
||||
{
|
||||
if(DEV_Digital_Read(EPD_BUSY_PIN) == 1) return;
|
||||
Debug("e-Paper busy\r\n");
|
||||
while(DEV_Digital_Read(EPD_BUSY_PIN) == 0) {
|
||||
DEV_Delay_ms(100);
|
||||
}
|
||||
DEV_Digital_Wait(EPD_BUSY_PIN, 1); //0: busy, 1: idle
|
||||
Debug("e-Paper busy release\r\n");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue