def send_data(self, data):
    self.digital_write(self.dc_pin, GPIO.HIGH)
    epdif.spi_transfer([data])
def send_data(self, data):
    self.digital_write(self.dc_pin, GPIO.HIGH)
    epdif.spi_transfer([data])