write byte as list
This commit is contained in:
parent
620360fd7e
commit
6c23879c9b
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ class EPD:
|
|||
epdconfig.spi_writebyte([command])
|
||||
if data:
|
||||
epdconfig.digital_write(self.dc_pin, epdconfig.GPIO.HIGH) # HIGH: write data
|
||||
[epdconfig.spi_writebyte(byte) for byte in data]
|
||||
[epdconfig.spi_writebyte([byte]) for byte in data]
|
||||
|
||||
def set_lut(self):
|
||||
look_up_tables = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue