-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Support ST7701s IPS TFT 5 inch 854x480 RGB+SPI With ESP32-S3 #575
Comments
hi, given the square-ish shape it looks like hscync/vsync values seem to need adjustment too, but first fix the rotation |
Thank you for your advice, but setting ...
cfg.offset_x = 0;
cfg.offset_y = 0;
cfg.offset_rotation = 0; // <- I've tried entering values from 0-3, but still doesn't work! If you need information about this display and other information, It's already on top. What should I do next? |
this is an issue tracker, not a customer service, the quality of the support you get is as good as the feedback you give |
thanks, offset rotation 1 and 3 don't show the cropped square, so there's progress, I suggest you keep I don't read Chinese and can't make much of the datasheet but it also looks like hsync*/vsync* values need to be adjusted with values provided by the vendor: cfg.hsync_front_porch = 20;//10;
cfg.hsync_pulse_width = 1;//8;
cfg.hsync_back_porch = 42;//50;
cfg.vsync_front_porch = 4;//10;
cfg.vsync_pulse_width = 10;//8;
cfg.vsync_back_porch = 12;//20;
unfortunately the google drive zip file is invalid and/or infected and I can't compare your values with the recommended settings
if the answer is yes to both questions please share the code of that sample ( try https://gist.new ) so we can compare the configurations |
I edited the file (on the original link) so I expect you should be able to open it normally.
Yes, I unzip the zip archive and I have access to all the files normally.
I have not yet tried out the code I received. Because the example the seller sent me has the project format used in ESP-IDF (the seller said there is no example code for Arduino IDE) and now I am developing my project on Arduino IDE(ArduinoESP32 V2 .0.17) only |
esp-idf calls this variant LCD_5r0_480x854, so you can try to invert the height/width values
you may have to adjust |
could it be that pin_vsync and pin_hsync need to inverted too?
|
I tested it and the result was that nothing was displayed on the screen and everything was black. Could the incorrect display of the display be related to the ST7701s init command? |
init commands sequences are hardcoded for this panel, but there is another variant of |
colors can be adjusted with that deinterlacing effect is similar to what you had with the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. Thank you for your contributions. |
Carefully written Issues are more likely to be given priority.
丁寧に記述された報告は優先して対応される可能性が高くなります。
Environment ( 実行環境 )
Problem Description ( 問題の内容 )
Display details: ST7701s Driver IC 5inch 854*480 pixel IPS RGB+SPI Interface | Support RGB565, RGB666 and RGB888 Color
2388602012亦亞徽EP5008S-DCT规格书.pdf <--Datasheet
https://item.taobao.com/item.htm?id=750263137747 <-- I bought it from here.
https://drive.google.com/file/d/1A29h3aU8qUe2CzuJNajd-pa8o6-KBBN1/view?usp=sharing <-- Sample code from seller
Problem: The image on the display does not display properly. distorted and some parts missing
VID_20240607101300.480p.mp4
Expected Behavior ( 期待される動作 )
Want the display to display normally Not distorted and missing
Actual Behavior ( 実際の動作 )
The image on the display does not display properly. distorted and some parts missing
Code to reproduce this issue ( 再現させるためのコード )
Please submit complete source code that can reproduce your problem.
あなたの問題を再現できる完全なソースコードを提示してください。
Code
The text was updated successfully, but these errors were encountered: