diff --git a/examples/mqtt.py b/examples/mqtt.py index 0d8a40f..e6a46d0 100644 --- a/examples/mqtt.py +++ b/examples/mqtt.py @@ -46,7 +46,7 @@ try: #epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRedimage)) #epd.DisplayPartial(epd.getbuffer(HBlackimage)) - values_image = Image.new('1', (epd.width, epd.height), 255) + values_image = Image.new('1', (epd.height, epd.width), 255) values_draw = ImageDraw.Draw(values_image) time.sleep(2)