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.
The adc result will be 12 bits instead of 8 or 10 bits. Result will be still in ADRESH and ADRESL registers. See 10 bit adc asm code and modify it for 4523 or post it here so that it can be modified.
We might be able to help more if you say what type of signal you are wanting to read into the adc port and if you are using hardware or a simulator to test your code on.
Though a good chip the 18f4523 its not the usual one most beginners go for; is it a part of a dev board or a prerequisite of a course ?
If stuck just post your code so we can see what you have tried, getting going for the first time can be the hardest part.
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.