def init(self):
    if (epdif.epd_init() != 0):
        return (- 1)
    self.reset()
    self.send_command(BOOSTER_SOFT_START)
    self.send_data(23)
    self.send_data(23)
    self.send_data(23)
    self.send_command(POWER_ON)
    self.wait_until_idle()
    self.send_command(PANEL_SETTING)
    self.send_data(15)
def init(self):
    if (epdif.epd_init() != 0):
        return (- 1)
    self.reset()
    self.send_command(BOOSTER_SOFT_START)
    self.send_data(23)
    self.send_data(23)
    self.send_data(23)
    self.send_command(POWER_ON)
    self.wait_until_idle()
    self.send_command(PANEL_SETTING)
    self.send_data(15)