micro2440 adc & rs232

ehsan
hi all,
I want to connect micro2440 adc pin to external voltage(0v to 5v) and use
10-digit digital output. Can anyone help me with a sample code?
I use linux qtopia and compile source code in ubuntu 12.04, with
arm-linux-gcc.

Finally, I want to send this 10-digit output(previous paragraph) to PC via
rs232 protocol.I need another sample code for sending data via micro2440
rs232 protocol to PC.

I need urgent help....

thanks...

David
hello,
I want to use GPIO of micro2440 for turning on/off external device. can
anybody help me?

androjes
Key word: /sys/class/gpio export