Hello Sun,

Thanks for reply

#define ADC_MAX ((1 << 12) - 1)
#define ADC_SCALE(x) ((x) * 640 / 4096)  // scale down to 640 pixels.

I am using 640 X 640 screen.
But on another board ads7846 touchscreen gives the approximate same output
means--->

dev/input/Pressure On Screen x=3440 y=3786

Has anyone tried tsc2004 touchscreen on android.

Deepak

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to