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

It works but I have reverse display on ILI9341 #1

Closed
pierrebak opened this issue Apr 22, 2021 · 11 comments
Closed

It works but I have reverse display on ILI9341 #1

pierrebak opened this issue Apr 22, 2021 · 11 comments

Comments

@pierrebak
Copy link

Well, it is works perfectly but the display is completely revert. I bought the display from Aliexpress.

@ukw100
Copy link
Owner

ukw100 commented Apr 22, 2021

This is described in README.md, here is the relevant section:

With the F1 key, you can choose between 4 orientations during operation:

Mode Orientation
0 Flip None (Standard)
1 Flip Vertical
2 Flip Horizontal
3 Flip Vertical + Horizontal

You can save the orientation in the INI file "steccy.ini". To do this, you count how often you had to press the F1 key to see the picture the right way round.

This value is entered in the INI file as

ORIENTATION=0 # or 1, 2, 3

Likewise, there are TFT displays whose RGB colour sequence is wired differently. If the display shows wrong colours, you can change the RGB colour sequence with the F2 key.

This can also be saved in the INI file "steccy.ini".

Enter here:

RGB=0 # Standard order RGB
RGB=1 # Non-standard is GRB

Have fun!

@pierrebak
Copy link
Author

pierrebak commented Apr 22, 2021

Thanks for very prompt feedback. Do you think I could use STM32F103 (blue pill) as an HID input? I have no FtoF adaptor to use the USB keyboard and it would be a means to test the screen orientation rapidly :)

@pierrebak
Copy link
Author

(BTW, it maybe not about screen orientation, as the image is like mirrored, I had the kind issue with a cheap LCD on Arduino from Aliexpress vendor).

@ukw100
Copy link
Owner

ukw100 commented Apr 22, 2021

Simply try

ORIENTATION=2

in steccy.ini. This value is my favourite for the ILI display.

@pierrebak
Copy link
Author

Ok :) I have to recompile the source then, I was using the ready-to-go hex file :)

@pierrebak
Copy link
Author

Thanks a lot

@ukw100
Copy link
Owner

ukw100 commented Apr 22, 2021

The ORIENTATION value also flips (mirrors) horizontal/vertical. A mirrorring display is not problem and can be fixed by the ORIENTATION value.

@ukw100
Copy link
Owner

ukw100 commented Apr 22, 2021

No, you don't have to recompile the source, simply create a file named STECCY.INI on the SD card and put the orientation line into the file.

@pierrebak
Copy link
Author

great thanks, will tell you soon

@pierrebak
Copy link
Author

Great it works :)

@ukw100
Copy link
Owner

ukw100 commented Apr 22, 2021

In README.md you will find more settings for STECCY.INI, for example keyboard and rom settings (48K vs. 128k). Link: https://github.com/ukw100/STECCY#ini-file

ukw100 pushed a commit that referenced this issue Aug 8, 2023
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