Revert "added delays to clear"

This reverts commit 06525ab320.
This commit is contained in:
Brian Y 2019-12-12 22:29:00 -05:00
commit 576cc16a16

View file

@ -536,15 +536,11 @@ class EPD:
def Clear(self, color): def Clear(self, color):
self.send_command(0x10) self.send_command(0x10)
epdconfig.delay_ms(2)
for i in range(0, int(self.width * self.height / 8)): for i in range(0, int(self.width * self.height / 8)):
self.send_data(color) self.send_data(0xFF)
epdconfig.delay_ms(2)
self.send_command(0x13) self.send_command(0x13)
epdconfig.delay_ms(2)
for i in range(0, int(self.width * self.height / 8)): for i in range(0, int(self.width * self.height / 8)):
self.send_data(color) self.send_data(0xFF)
epdconfig.delay_ms(2)
self.send_command(0x12) self.send_command(0x12)
self.ReadBusy() self.ReadBusy()