Using 1.44" V231_G2 display.
Am interested to know how i would achieve partial updates as demonstrated on your Youtube video.
Trying to use the python examples like "DrawDemo.py" or "PartialDemo.py" or "CounterDemo.py" but i get errors as shown below:
root@beaglebone:/home/debian/gratis/PlatformWithOS# python demo/PartialDemo.py 3 20
panel = EPD 1.44 128 x 96 version=4 COG=2 FILM=231
Traceback (most recent call last):
File "demo/PartialDemo.py", line 89, in
main(sys.argv[1:])
File "demo/PartialDemo.py", line 52, in main
demo(epd, objects, frames)
File "demo/PartialDemo.py", line 82, in demo
epd.display(image)
File "/home/debian/gratis/PlatformWithOS/demo/EPD.py", line 139, in display
f.write(image.tobytes())
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 512, in getattr
raise AttributeError(name)
AttributeError: tobytes
I would like to achieve similar output as shown in the video.
https://www.youtube.com/watch?v=enzUbiSWenQ
Using 1.44" V231_G2 display.
Am interested to know how i would achieve partial updates as demonstrated on your Youtube video.
Trying to use the python examples like "DrawDemo.py" or "PartialDemo.py" or "CounterDemo.py" but i get errors as shown below:
root@beaglebone:/home/debian/gratis/PlatformWithOS# python demo/PartialDemo.py 3 20
panel = EPD 1.44 128 x 96 version=4 COG=2 FILM=231
Traceback (most recent call last):
File "demo/PartialDemo.py", line 89, in
main(sys.argv[1:])
File "demo/PartialDemo.py", line 52, in main
demo(epd, objects, frames)
File "demo/PartialDemo.py", line 82, in demo
epd.display(image)
File "/home/debian/gratis/PlatformWithOS/demo/EPD.py", line 139, in display
f.write(image.tobytes())
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 512, in getattr
raise AttributeError(name)
AttributeError: tobytes
I would like to achieve similar output as shown in the video.
https://www.youtube.com/watch?v=enzUbiSWenQ