18f26k80 with PWM

Discuss PIC and electronic related things

Moderators: David Barker, Jerry Messina

richardb
Posts: 310
Joined: Tue Oct 03, 2006 8:54 pm

Post by richardb » Thu Jul 07, 2011 3:06 pm

i think the reason i missed it too was that there is a sub in the standard ADC module called

Code: Select all

public sub SetAcqTime(pATime as byte)
   FAcquisitionTime = pATime
end sub
This doesnt set the ADC acquisition time it just sets a delay between enabling the adc and starting the acquisition.

Code: Select all

AQT2 as ADCON2.5,
AQT1 as ADCON2.4,   
AQT0 as ADCON2.3,
these registers are never set

[/code]
Hmmm..

Post Reply