Skip to content
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

pu_stagetime modification #211

Open
gokhanbakan opened this issue Nov 13, 2019 · 1 comment
Open

pu_stagetime modification #211

gokhanbakan opened this issue Nov 13, 2019 · 1 comment

Comments

@gokhanbakan
Copy link

Hi,
I am controlling a Papirus screen (1.44") connected to a Pi 3. I am using fast_update() and modifying the pu_stage time file to set the refresh rate myself as instructed by some of the examples here (e.g., Radar). But I noticed that I cannot save/set the pu_stagetime value outside the range of 50-2000 ms. I am aware that it is not suggested to go faster than 50 ms, but I still would like to see it myself. How can go around this issue?
Thanks in advance.

@tvoverbeek
Copy link
Contributor

You would have to modify the epd-fuse service from https://github/repaper/gratis.
See the papirus-setup script how to build it (https://github.com/PiSupply/PaPiRus/blob/master/bin/papirus-setup).
The relevant file is https://github.com/repaper/gratis/blob/master/PlatformWithOS/driver-common/epd_fuse.c
Look at lines 377-383 for reading /dev/epd/pu_stagetime
and lines 437-443 for writing where the limits for pu_stagetime are tested.
No guarantee the display does not break when using stagetime less than 50.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants