PiSupply / PaPiRus

Resources for PaPiRus ePaper eInk displays
https://www.pi-supply.com/product/papirus-epaper-eink-screen-hat-for-raspberry-pi/
Other
346 stars 85 forks source link

C language library? #185

Open uchuugaka opened 6 years ago

uchuugaka commented 6 years ago

Where can we find C or other compiled language library for the PaPiRus products? I need to do things not in Python sometimes...

tvoverbeek commented 6 years ago

The low level driver is just a file interface (FUSE based) writing/reading to various files under /dev/epd. See https://github.com/PiSupply/PaPiRus/blob/master/bin/papirus-setup for how this is installed. The driver itself can be found in https://github.com/repaper/gratis.

Have a look at some of the python scripts to see how this interface is used. For example clearing the display is done by writing the character 'C' to /dev/epd/command Using it from C/C++ should be no problem.

uchuugaka commented 6 years ago

Awesome! Thanks so much for the insights. I will dig into these.

On May 5, 2018, at 21:01, Ton van Overbeek notifications@github.com wrote:

The low level driver is just a file interface (FUSE based) writing/reading to various files under /dev/epd. See https://github.com/PiSupply/PaPiRus/blob/master/bin/papirus-setup for how this is installed. The driver itself can be found in https://github.com/repaper/gratis.

Have a look at some of the python scripts to see how this interface is used. For example clearing the display is done by writing the character 'C' to /dev/epd/command Using it from C/C++ should be no problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.