$ cd
$ git clone https://github.com/AxelHamburch/e-Paper/
$ cd ~/e-Paper/RaspberryPi*/python
$ sudo python3 setup.py install
Info:
Normally cloning is done from the current Waveshare repository https://github.com/waveshare/e-Paper, but the new version currently still has problems with the recommended ATM configuration. Therefore, an older backup of "AxelHamburch" is recommended here for the time being.
Note:
This is special for the "Waveshare 2in13 V2". Yours may be different, check your version carefully!
$ cd ~/e-Paper/RaspberryPi_JetsonNano/python/examples
$ sudo python3 ./epd_2in13_V2_test.py
If everything has been correctly connected and installed, the display will now show a demonstration and finally the screen will cleare.
Help:
If it dosn't work, try the D-Version (flexible): $ sudo python3 ./epd_2in13d_test.py
. Another option is the display "Waveshare 2in13 V3", it is a new display. $ sudo python3 ./epd_2in13_V3_test.py
. (Work is in progress to fully support the V3).
If you have a display from waveshare not listed here, try to find the right display type in the waveshare repository.
display demo
display test example
Possible source of error
AttributeError: 'SpiDev' object has no attribute 'writebytes2'
Solution:
$ cd
$ sudo rm -r e-Paper
$ git clone https://github.com/AxelHamburch/e-Paper/
$ cd ~/e-Paper/RaspberryPi*/python
$ sudo python3 setup.py install
$ cd ~/e-Paper/RaspberryPi_JetsonNano/python/examples
$ sudo python3 ./epd_2in13d_test.py # Change it to your version
Note:
If it dose not work, check the wiring and your display version again.