Comments (10)
It looks like you are using an older version of Python currently the code runs on 2.7.11.
If you can please update ad you should be ok, if you cannot update and need to continue with older Python version then you will need to change one line in the demo/EPD.py
file
Modify line 194 which reads: f.write(image.tobytes())
to be: f.write(image.tostring())
from gratis.
Thanks,
I did modify as u suggested. No changes on display. :( But the code isn't throwing any errors.
from gratis.
I am having problems with BBB, I updated and it no longer boots, I will recover an older image and try that
from gratis.
I put the old image at:
https://drive.google.com/file/d/0ByAJ8vCbYBDgTTNLcUVjZVlJcnc/view?usp=sharing
dowload and name it as bbb-1.44.img.xz
then extract to an SD card:
$ xz -d < bbb-1.44.img.xz | dd bs=64M of=/dev/sdX
replace /dev/sdX
with the right drive to access the USB card writer (be careful!)
The image is 2GB so the card need to be at least this size.
Note: SHA256 of image and its compressed version:
fae9e587a9b51092d05613479aab7a5337b5ab097975851c0f5b13151336362d bbb-1.44.img
4593775fb20ddd7466c1e33edc709600b7f63c93a726b2036be0b2c20c1bad0c bbb-1.44.img.xz
There are just root/root and repaper/repaper accounts in the image. repaper will run a tmux session.
from gratis.
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.
$ python2 CounterDemo.py 1234
# failure here
$ sudo systemctl restart epd-fuse
$ python2 CounterDemo.py 1234
from gratis.
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.
from gratis.
Thanks for the suggestion.
I shall try these things and post the update asap. And also in the near future, i would like to port it to kernel 4.1.13 as my target hardware runs this version. Any suggestions on workarounds to port?
from gratis.
Maybe will need to update the device tree file for newer kernel, I used cape universal in this old image and the file is: /lib/firmware/cape-universal-00A0.dtbo
from gratis.
Thanks,
Am taking care of the device tree stuffs. Anything else in specific to look into?
from gratis.
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)
from gratis.
Related Issues (20)
- not enough space on Mega2560 HOT 3
- does not work with energia MSP430 HOT 2
- The upload "u" command in command sketch Arduino HOT 3
- Arduino upload command for epaper HOT 23
- flash store image
- Error with epd-fuse.service starting - see issue 51 also HOT 4
- Problem with latest Raspberry Pi Kernel rpi-4.9.y HOT 2
- Refactor to use sysfs interface or dedicated kernel driver
- Do we need a terminating '\n' in the error strings (/dev/epd/error)? HOT 4
- Linux kernel driver - re-license code under GPLv2? HOT 39
- Support for 2.87" three color Display (Pervasive; Spectra; E2271CS021) HOT 5
- Arduino UNO EG020BS011 EPD Extension Board Gen2 HOT 2
- M430G2553 Not Enough ROM
- EPD on Tinkerboard HOT 1
- your homepage is broken: reference and documentation links HOT 11
- epaper display with raspberry pi 3 and Windows IoT Core OS
- Display is told to be broken, but it isn't HOT 1
- E2271CS021 stm32 driver support HOT 4
- Question about compatibility.
- review/idea HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gratis.