From f114b978c345a00df199c10abd9eb8eb26946a8f Mon Sep 17 00:00:00 2001 From: Brian Y Date: Sat, 14 Dec 2019 21:04:02 -0500 Subject: [PATCH] Update epd2in7.py --- .../python/lib/waveshare_epd/epd2in7.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py index 193e534..2092f61 100644 --- a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py +++ b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py @@ -313,14 +313,12 @@ class EPD: self.reset() self.send_command(0x01) # POWER_SETTING - # self.send_data(0x03) # VDS_EN, VDG_EN - # # self.send_data(0x00) # VCOM_HV, VGHL_LV[1], VGHL_LV[0] - # self.send_data(0x07) # VCOM_HV, VGHL_LV[1], VGHL_LV[0] - # self.send_data(0x2b) # VDH - # self.send_data(0x2b) # VDL - # self.send_data(0x09) # VDHR - self.send_data([0x03, 0x07, 0x2b, 0x2b, 0x09]) - + self.send_data(0x03) # VDS_EN, VDG_EN + # self.send_data(0x00) # VCOM_HV, VGHL_LV[1], VGHL_LV[0] + self.send_data(0x07) # VCOM_HV, VGHL_LV[1], VGHL_LV[0] + self.send_data(0x2b) # VDH + self.send_data(0x2b) # VDL + self.send_data(0x09) # VDHR self.send_command(0x06) # BOOSTER_SOFT_START # self.send_data(0x07)