Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
nandhu015:
i am using the adc.h inside the C18 library to configurate my adc function.
miredox:
Thank you very much. finally i know wat is my problem. i forget to configurate the LVP to off, which cause my adc function unable to operate well.. Once againss.....Thanks.....
Added after 9...
The first thing it doesnt work is when i supply the 0v(ground) to the AN0 which is the ADC_CH0, the output is not shown as desired which is 0b0000000000.
The channel that i used is ADC_CH0.
i do not trigger the RB0 interrupt so often (less than one time per second) so i dont think there is...
I am a newbie on Microcontroller. I have written a ADC program which convert the analog signal and display on the led at PORTB and PORTC. I have try simulate with the Proteus, it work well, but, when i download the program into my PIC18F4520, it doesnt work as desired. Below is my program...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.