Hi!
Grabbed a inky phat the other today and got it working for what I wanted, but it needed something bigger, so grabbed an Inky What Red.
Following the getting started guide has the same issues as the phat guide with needing to separately install the fonts, but I’ve a new issue with the hello world example:
from inky.auto import auto
from PIL import Image, ImageFont, ImageDraw
inky_display = auto()
inky_display.set_border(inky_display.WHITE)
img = Image.new("P", (inky_display.WIDTH, inky_display.HEIGHT))
draw = ImageDraw.Draw(img)
executing this generates the following error:
Traceback (most recent call last):
File "/home/kelly/inky/code/test.py", line 7, in <module>
img = Image.new("P", (inky_display.WIDTH, inky_display.HEIGHT))
^^^^^^^^^^^^^^^^^^
AttributeError: 'Inky' object has no attribute 'WIDTH'
Any clues as to what to do?