??? 11/30/11 16:31 Read: times |
#184961 - re: Thanks Responding to: ???'s previous message |
Mahmood Elnasser said:
Yes that is smart thanks, I was thinking to keep checking the touch screen every few 100 milliseconds, but your way is much neater and more efficient.
Do you need to do averaging? Do you need De-Bounce? For the little thing I rigged up, using a LCD touchscreen from SparkFun, I didn't ... but it might make sense to average. It's an exercise for the reader whether it's better to read X multiple times and then read Y multiple times, or alternate reading X and Y several times (accumulating with each read then averaging after all reads are complete). How do you assign tolerences? I'm thinking of making areas where they give same result, something like a keypad, anywhere you touch inside the key it gives you number. It sounds fun.
Mahmood I didn't assign tolerances, but I recall that the LCD resolution was pretty low and the converters are 12 bits, so conversion results are "better" than you need. That might be why I didn't bother averaging. -a |
Topic | Author | Date |
Resistive touch screen | 01/01/70 00:00 | |
Good for you! | 01/01/70 00:00 | |
re: Resistive touch screen | 01/01/70 00:00 | |
Thanks | 01/01/70 00:00 | |
re: Thanks | 01/01/70 00:00 | |
GND reference | 01/01/70 00:00 | |
Hardware or software | 01/01/70 00:00 | |
re: Hardware or software | 01/01/70 00:00 | |
oh, you do | 01/01/70 00:00 | |
analog in instead of open drain | 01/01/70 00:00 | |
re: analog in .. | 01/01/70 00:00 | |
tough to love :) | 01/01/70 00:00 | |
software | 01/01/70 00:00 | |
When I did Touch Screen Stuff | 01/01/70 00:00 | |
GUI | 01/01/70 00:00 | |
If you have ... | 01/01/70 00:00 | |
Article | 01/01/70 00:00 | |
Let Chinese do that | 01/01/70 00:00 |