-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partial refresh error! #39
Comments
It looks like you are using an older version of Python currently the code runs on 2.7.11. Modify line 194 which reads: |
Thanks, |
I am having problems with BBB, I updated and it no longer boots, I will recover an older image and try that |
I put the old image at: dowload and name it as
replace The image is 2GB so the card need to be at least this size. Note: SHA256 of image and its compressed version:
There are just root/root and repaper/repaper accounts in the image. repaper will run a tmux session. |
I have a problem on first start, the epd-fuse fails when counter demo is started but restarting it once seems to be enough, maybe I have it starting too ealy in the boot sequence.
|
Please try if possible it will determine if your hardware is working. I have tried to update this image, but the latest kernel hangs, even though I removed the device tree file before updating. |
Thanks for the suggestion. |
Maybe will need to update the device tree file for newer kernel, I used cape universal in this old image and the file is: |
Thanks, |
The only thing seems to be that epd-fuse is crashing on first use, not sure why possible systemd service starts it at the wrong time (too early?). Also need to set the service file to restart it on failure. I am using Arch so not sure if this applies to your system (perhaps you use sysvinit or upstart) |
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
The text was updated successfully, but these errors were encountered: