Right click onto the ADC component and select "Find Code Example".
Basically you need an analog pin component, connect it to your ADC component and write a bit of code to get the converted value.
When writing to UART, use the UART to USB bridge and PuTTY, sprintf() and uart-putstring() API . When printing float numbers increase the heap size to 0x0200 in system view.
hi i really did not undestand what are u meaning , i know progrmaning in c and matlab how ever i cant really understand what u mean . and the exmpale code did not really helped me