Hi Rob,

ADC_NVREF seems indeed not handled properly, I can't understand why. Anyway
I'll update adc_channels.jal (actually the template) to deal with default
values and explicitely set whatever needed bits to match ADC_NVREF
requirements.

Cheers,
Seb

2010/11/10 Rob Hamerling <[email protected]>

>
> Hi Hans,
>
>
> You wrote:
>
>> I have spent some time to find some myself .For some Pic types I found
>> a XXXXXX_adc_dependent but not a 16F1827_adc_dependent. Does this mean
>> there is not yet such or it's not possible.
>>
>
> Well, the 16f1827 has independent adc channels, so you were looking in the
> wrong direction.
>
>
>  If you have another suggestion you are wecome.
>>
>
> I have an ADC program with a 16f1827 running, but I needed some tweaking,
> possibly because of a shortcoming in the adc libs. The ADC_VREF = 0 seems
> not be handled correctly. When I add:
>
>> ADCON1_adpref0 = 0
>> ADCON1_adpref1 = 0
>> ADCON1_adnref  = 0
>>
> after adc_init() the ADC works fine.
> See also Jallib issue 140
>
>
> Regards, Rob.
>
> --
> R. Hamerling, Netherlands --- http://www.robh.nl
>
> --
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<jallib%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/jallib?hl=en.
>
>


-- 
Sébastien Lelong
http://www.sirloon.net
http://sirbot.org

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to