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

Screen Mirrored issue #70

Closed
mTyguy opened this issue Dec 5, 2022 · 8 comments
Closed

Screen Mirrored issue #70

mTyguy opened this issue Dec 5, 2022 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@mTyguy
Copy link

mTyguy commented Dec 5, 2022

mirror=True does not reverse mirror for me. I am using 10.3inch EPD and IT8951. here is my config file

#CONFIG_VERSION=1
[main]
#waveshare display type use HD for IT8951 displays
display_type = HD
#required vcom value for IT8951 screens
vcom = -1.50
#maximum refresh between total screen clear for HD displays
max_refresh = 4
#logging output level
log_level = WARNING
#display splash screen (True or False)
splash = True
#rotation of EPD display
#(cable bottom: 0; cable left: -90; cable right: 90; cable top: 180)
rotation = 0
#mirror screen output - useful if output to screen appears backwards'
mirror=True

Have also tried:
mirror = True

I'm probably missing something obvious. Any suggestions?

@mTyguy mTyguy closed this as completed Dec 5, 2022
@mTyguy mTyguy reopened this Dec 5, 2022
@txoof
Copy link
Owner

txoof commented Dec 5, 2022

@mTyguy

Wow. This feature is utterly broken. Thanks for catching this issue. It should be an easy fix, but will take some diving into the libraries to get there.

We've archived this form of PaperPi and moved all the development to https://github.com/txoof/PaperPi

I'll move the issue over there and start working on a fix.

@txoof txoof transferred this issue from txoof/epd_display Dec 5, 2022
@txoof txoof self-assigned this Dec 5, 2022
@txoof txoof added the bug Something isn't working label Dec 5, 2022
@txoof
Copy link
Owner

txoof commented Dec 5, 2022

Good news: this can be fixed by adding a mirror option to the epdlib.Screen class

I'll be traveling for work this week, so it might not be until the weekend/next week until I can get to this.

@txoof
Copy link
Owner

txoof commented Dec 5, 2022

Aaand I'm disorganized. Turns out there's already a solution for this; it just needs to be tested and merged in to epdlib and then integrated into the main branch here.

@mTyguy
Copy link
Author

mTyguy commented Dec 6, 2022

that is great news. everything else is working great!

@txoof
Copy link
Owner

txoof commented Dec 11, 2022

@mTyguy

I've got a working version of PaperPi that supports mirroring now. Can you please test it and see if it works for you? You should just be able to install right over the existing install. Your existing config files will be preserved.

Use this installer to get the test branch:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/txoof/PaperPi/i70_mirror/install/remote_install.sh)"

@mTyguy
Copy link
Author

mTyguy commented Dec 11, 2022

@txoof
ran the command and the mirroring issue is fixed
thank you!

@txoof
Copy link
Owner

txoof commented Dec 12, 2022

Good news!

I'll do some more tests at my end and then roll the changes into the main branch.

@txoof
Copy link
Owner

txoof commented Dec 12, 2022

resolved with c6d5e36

@txoof txoof closed this as completed Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants