Am using AN0 pin to read a voltage from external source but in LCD it is showing always 4.99v which is my vdd voltage and when am connecting AN0 to ground it shows 0v,itz not showing external supply voltage what to do to read the external voltage?
Yes there is an option to convert float to string,and i don't have problem with all these problem is that in figure you can see the voltage that voltage is reading from my VDD given to MCU,inthe AN0 pin we are variying voltage to low using ground then it shows 0v. when i want to read a external voltage its not reading through AN0 pin
OK. I am still downloading flowcode. Will reply after 1 hour.
I think you have not made the adc pins analog. I feel that it is set as digital, so, it is reading only 0 and 5 v.
I installed Flowcode V5 PIC and tried to open your file, but it says PIX18F4520 is not supported in Flowcode Free version.
Only if I get a serial number for Flowcode, I will be able to check your file.