Hi everyone. I'am meeting a problem such as: I use ADC AI1 con4 mini2440, when i touch Touchscreen, ADC value change. Please help me problem. why ? and fix PS. I use C#.net to read ADC Thanks everyone.
mini2440 - ADC conflit with Touchscreen ?
Because ADC0, 1, 2 and 3 are used for the touchscreen (from memory). Fix ... use one of the remaining ones.
For WinCE I have zero experience. For Linux I could give you some links to ADC related stuff. Also, here is a snippet out of the Pengutronix QuickStart guide: 8.14 ADC Getting the digital equivalent of one of the analogue input channels can be done by reading the corresponding entries in the sysfs. For example the analogue input channel 0 on the Mini2440 is connected to the potentiometer W1. By reading the entry /sys/devices/platform/s3c24xx-adc/s3c-hwmon/in0_input we can watch the different digital values while turning the potentiometer W1. Note: The analogue input channels 4 ... 7 are occupied by the touchscreen feature and can only be used as simple analogue inputs if the touchscreen feature is disabled. Looks like I got the wrong channels in my previous post :( Also, http://www.friendlyarm.net/forum/topic/2652
Linux again: http://www.friendlyarm.net/forum/topic/974