diff --git a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py index 0c6b28c..7dc1f99 100644 --- a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py +++ b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py @@ -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(data) + [epdconfig.spi_writebyte(byte) for byte in data] def set_lut(self): look_up_tables = {