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

Arduino Program Reset Bug
arduino uno R3 input pins with gsm shield
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

Categories

HOME
hook
path-finding
octobercms
webstorm
google-docs
gis
setup-deployment
maven-3
acquia
datastax-java-driver
android-youtube-api
add
synchronization
fancybox-3
volttron
export-to-csv
serverless-framework
django-admin
facebook-page
angular-ui
solaris-10
connection-string
visual-composer
kryo
jquery-ajaxq
intentfilter
arabic
ehcache
java-7
su
uninstall
spring-mybatis
elasticsearch-net
windows-server-2000
react-chartjs
titanium-mobile
fog
asset-pipeline
google-api-nodejs-client
environment-modules
overlap
revolution-slider
bootstrapper
awt
ensembles
http-live-streaming
eigenvalue
nxlog
import-from-excel
modelmapper
sas-jmp
apple-news
dotcover
youcompleteme
qsslsocket
promela
domain-model
nstextview
brightcove
worker-thread
pg-dump
font-size
namecoin
memory-alignment
mako
flow-control
spring-cache
synchronous
topbeat
ableton-live
gridview-sorting
flash-cs5
lua-5.1
phpcas
reactive-banana
lib.web.mvc
ora-00900
mutation-observers
wireshark-dissector
createprocessasuser
nsight
unity3d-gui
javax.mail
id3v2
java-metro-framework
googlemock
has-many-through
xsockets.net
jquery-mobile-dialog
drools-planner
libstdc++
broken-links
buildr
transactionscope
infobox
cinema-4d
appender
file-comparison
dmx512
filtered-index
dbal
ext3
perfect-hash
firefox-5
user-friendly
text-coloring

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App