Comments (6)
Hi. I want to set default orientation as landscape. I tried to change conf_WT32SCO1.h (width and height in defines) and helper_display.hpp (lcd.setRotation(3 instead of 2) ). Orientation changes but display width crops by 320 pixels. I using WT32-SC01. How can i change display orientation?
Display default orientation is setup here. Try changing and see if it works for your requirements
ESP32-TUX/main/helpers/helper_display.hpp
Line 91 in 37822a7
from esp32-tux.
With lcd.setRotation(2)
display orientation is portrait.
With lcd.setRotation(1)
display orientation is landscape but with black area on the right.
If i rotate display (with lcd.setRotation(2)
) from ui it works.
How can i fix that?
from esp32-tux.
With
lcd.setRotation(2)
display orientation is portrait.With
lcd.setRotation(1)
display orientation is landscape but with black area on the right.If i rotate display (with
lcd.setRotation(2)
) from ui it works. How can i fix that?
Background image needs to be changed to cover the side.
Guess you figured that out yourself.
from esp32-tux.
Ok. I temporary disabled background image, but the black area still exists. Looks like the image width is 320 pix instead of 480.
from esp32-tux.
It works.
I changed the width and height in helper and set rotation 1 instead of 3. And i set sw_rotate=0.
But it doesn't look right. Is there another way to rotate the picture?
from esp32-tux.
Related Issues (20)
- ESP-IDF compiler error - need docs improvements. HOT 23
- WT32-SCO Broken Build - Bad GPIO define HOT 3
- Web installer fail HOT 3
- Difference between Arduino & ESP-IDF HOT 3
- WT32-SC01 - Only shows a white screen HOT 16
- Failed build HOT 6
- WT32-SC01 Plus 8Bit Parallel 3.5 Firmware Download HOT 1
- Include Path errors HOT 2
- MQTT implementation HOT 1
- Question again if a port for Arduino IDE would be possible/feasible and some hint would be also possible HOT 1
- Opportunities for shared modules/models HOT 3
- Build fails HOT 2
- touch not working IL9341 HOT 2
- xpt2046 why dont support ? HOT 1
- and compile issue HOT 1
- dtill issies - why is this so difficult HOT 1
- using the wrong file .......... picks up esp32 when esp32s3 is required HOT 2
- Please confirm the compile HOT 1
- Does not compile HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-tux.