def send_command(self, command):
    self.digital_write(self.dc_pin, GPIO.LOW)
    epdif.spi_transfer([command])
def send_command(self, command):
    self.digital_write(self.dc_pin, GPIO.LOW)
    epdif.spi_transfer([command])