With PBP3 you won't need to even list ADCON0 unless you change your resolution. PBP3 has to address the ADCON0 Register to select the appropriate AD Channel, and the Justify Bit. Try not listing...
Your answer is appreciated, you took awhile to answer and you're right - read. Most people would just reply with - hey idiot - read the docs for petes sake.
I've read the docs about 25 times, but...
Hi,
I am trying to perform analog to digital conversion on PIC16f877a. well the problem is when I am showing my result on led it working fine but when I am showing my result on 7 segment I have some...
Where have you given EE_Duty a value? Instead of "EE_Duty VAR WORD" try using "EE_Duty CON 0" where you are using EEPROM Address 0 as a storage place for your Duty.
First; when you look at a Special Function Register in the Data Sheet, there are letters & numbers above each Bit in the Register. For example, ADCON0 bit 7 (denoted as ADCON0.7) has "R/W-0" above...
I'm using Analog port 2 on 16F616 - 4Mhz.. VDD as reference. Any help would be great. I didn't have to set the ADCON registers for 8 bit. Why is 10 bit different? Was I lucky?
Re: ADC resolution for 16F616
With PBP3 you won't need to even list ADCON0 unless you change your resolution. PBP3 has to address the ADCON0 Register to select the appropriate AD Channel, and the Justify Bit. Try not listing...
mpgmike Today, 14:29