Jul-04-2019, 05:22 PM
Hi,
reading through the documentation, I guess that
Regards, noisefloor
reading through the documentation, I guess that
lcd.set_pixel()
expects an 8-bit value for pixel
. When you read a JPG image, you get at least a tuple of three 8-bit values like (128, 255, 10)
for RGB. Thus, I guess you need to convert your image into one of gray shades first. I also guess that Pillow has a method for that. Just dig yourself through the documentation.Regards, noisefloor