Comments (5)
Have you rotated your screen? Normal orientation is portrait, if so swap you touch x and y around
from esp8266-weather-station-color.
Screen is not rotated. I took the .ino and only change the wifi parameters !
EDIT: to be more precise : origin point are in the right bottom corner and the x:240 and y:320 are in the top left ...
from esp8266-weather-station-color.
Can be fix replacing in TouchControllerWS.cpp :
int x = (p.y - ax) * dx;
int y = 320- (p.x - ay) * dy;
BY :
int x = 240 - (p.y - ax) * dx;
int y = (p.x - ay) * dy;
from esp8266-weather-station-color.
I'm having trouble with touchscreen calibration as well though I have rotated the screen with gfx.setRotation(1). Is there something in TouchControllerWS.cpp that needs to change match the new orientation?
from esp8266-weather-station-color.
origin point are in the right bottom corner and the x:240 and y:320 are in the top left ...
I cannot reproduce this. Note that the assumed orientation is portrait with the pin row at the bottom as seen here: https://thingpulse.com/product/esp8266-wifi-color-display-kit-2-4/
from esp8266-weather-station-color.
Related Issues (20)
- esp8266-weather-station-color - problem with 2,4" ST7789V LCD Display HOT 1
- Hello please i need this code but i'm using lcd ssd1283A how can i modify ?
- Feature request: Probability of precipitation in % HOT 2
- Once again - station does not pull data from Open weather map HOT 7
- Landscape mode HOT 19
- Horizontal (stand)
- SPIFFS.open("/application.properties"..... HOT 1
- False touch observed with no user input. Screens change randomly. HOT 3
- Boot loop
- SunMoonCalc implementation seems to be omitted HOT 1
- error code HOT 2
- Add feature Hotspot if no known wifi
- white HOT 1
- ESP8266 can't connect to ASUS Routers HOT 1
- Calibrate touch screen issue HOT 2
- Not connecting to WiFi anymore HOT 1
- Wont conenct to Wifi HOT 2
- Need a 3D case for the V2 ESP8266 Color connector
- WiFi will not connect for the Color model HOT 4
- ESP8266 Weatherstation color locks up when updating from OpenWeatherMap HOT 8
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 esp8266-weather-station-color.