From 81f096f65515b4f890bb095114c50941dcc4de91 Mon Sep 17 00:00:00 2001 From: baifangkual <60030502+baifangkual@users.noreply.github.com> Date: Thu, 1 Aug 2024 17:11:16 +0800 Subject: [PATCH] Update epd_1in02_test.py 'EPD' object has no attribute 'Display' --- RaspberryPi_JetsonNano/python/examples/epd_1in02_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RaspberryPi_JetsonNano/python/examples/epd_1in02_test.py b/RaspberryPi_JetsonNano/python/examples/epd_1in02_test.py index b5e730ea7..1a09fbc6b 100644 --- a/RaspberryPi_JetsonNano/python/examples/epd_1in02_test.py +++ b/RaspberryPi_JetsonNano/python/examples/epd_1in02_test.py @@ -32,7 +32,7 @@ draw.text((5, 0), 'hello world', font = font, fill = 0) draw.text((15, 40), u'微雪电子', font = font, fill = 0) - epd.Display(epd.getbuffer(image)) + epd.display(epd.getbuffer(image)) time.sleep(2) image = Image.new('1', (epd.height, epd.width), 255) # 255: clear the frame