arduino-uno


2.4 inch TFT LCD SPFD5408 with Arduino Uno - touch not working


I can get all the samples to compile from this link:
http://www.instructables.com/id/How-to-use-24-inch-TFT-LCD-SPFD5408-with-Arduino-U
For some reason the touch screen part is not working
Some pins are maybe not set correctly in the sketch?
Ok, weird this is...
In the lcd shield I bought I had to change to code in the sketch to:
#define YP A3 // must be an analog pin, use "An" notation!
#define XM A2 // must be an analog pin, use "An" notation!
#define YM 9 // can be a digital pin
#define XP 8 // can be a digital pin
And then in SPFD5408_TouchScreen.cpp...
return TSPoint(1023 - x, 1023 - y, z);
I wish they can stop changing pins on the these boards when they produce them!
Actually, I had better success with:
return TSPoint(1100 - x, 1043 - y, z);
Maybe someone (programmer) can figure this out.
Also in calibration sketch changed:
TS_MINY=p1.y-( (tempL*10)>>10);// 10 pixels du bord
TO:
TS_MINY=p1.y-( (tempL*10)>>15);// 15 pixels du bord
Hope this helps someone!

Related Links

Light weight machine to machine communication with Arduino
Interfacing RM5 evolution coin acceptor with arduino
Arduino-ESP8266 Sending URL from a client browser connected to the esp8266 AP and receiving the entered URL in the arduino board
Need explanations about a code relative to MPU6050
Arduino Programmer only works after unlugging and plugging back in
How do I communicate between Arduino board and Intel Edison Arduino board using XBee S2?
I cannot solve my arduino program error
2.4 inch TFT LCD SPFD5408 with Arduino Uno - touch not working
DAC0808 doesn't want tranfer to analog
Trouble in programming arduino with esp8266
How to control a servo motor with Windows Remote Arduino?
Set baud rate to esp8266 at 9600
Arduino AC Dimmer - serial communication lost due to interrupt
connection error with arduino etherent shield and apache localhost
Arduino, johnny-five, can it work without connected computer?
arduino uno with 8-bit MCU (ATmega328) but program with 32-bit C/C++ program

Categories

HOME
maven
image
coq
pycharm
react-virtualized
stock
sd-card
jira
jpeg
synchronization
quickbooks
static-libraries
visual-studio-2005
windows-server-2012
serverless-framework
libtiff
ef-migrations
django-cms
jprofiler
autoconf
abi
errorlevel
tapestry
mustache.php
dxf
replaceall
log4js-node
tinymce-4
preg-match
kendo-ui-grid
webtest
windows-dev-center
repo
subset-sum
rotational-matrices
html5-fullscreen
bower-install
wixsharp
adobe-premiere
swisscomdev
automake
unobtrusive-validation
particles.js
dynamic-reports
jvm-languages
nomethoderror
scrollable
upstart
hls.js
dotnetzip
svmlight
recursive-datastructures
eventkit
angular-strap
nxt
log4c
multiple-regression
sigabrt
testng-dataprovider
dlna
intellij-14
comobject
event-bubbling
operation
apache-commons-fileupload
composite
dundas
sonarqube5.1.2
truevault
kineticjs
facebook-graph-api-v2.4
cdt
codeigniter-routing
preferences
onactivityresult
jquery-layout
eventlistener
tridion-worldserver
libc++
psi
xmemcached
self-extracting
aquaticprime
thread-local-storage
ntvdm.exe

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App