added missing comma

This commit is contained in:
Brian Y 2019-12-15 16:29:26 -05:00
commit 997a1ccfef

View file

@ -267,7 +267,7 @@ class EPD:
epdconfig.delay_ms(1) epdconfig.delay_ms(1)
logging.debug("e-Paper busy release") logging.debug("e-Paper busy release")
def send_command_and_data(self command, data=None): def send_command_and_data(self, command, data=None):
self.digital_write(self.dc_pin, epdif.GPIO.LOW) # LOW: write command self.digital_write(self.dc_pin, epdif.GPIO.LOW) # LOW: write command
epdif.spi_writebytes([command]) epdif.spi_writebytes([command])
if data: if data: