added missing comma
This commit is contained in:
parent
96e61363e9
commit
997a1ccfef
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue