Hi Joep,

It's going on that "Maybe your PIC isn't supported, please report !", which
you seem to do :)

I'll have a look.

Cheers,
Seb

2010/10/15 Joep Suijs <[email protected]>

> Hi Seb,
>
> I try to use ADC on an 18f242 with the setup:
> const bit  ADC_HIGH_RESOLUTION = high
> const byte ADC_NCHANNEL = 8
> const byte ADC_NVREF = 0
> include adc
>
>
> This gives an error:
> > c:\jallib\include\peripheral\adc/adc_channels.jal:3291: "You can't
> specify the number of ADC channel with ADC_NCHANNEL, you have to use
> set_analog_pin(...)"
>
> but if I look at the datasheet I see dependent pins.
> But when I try independent anyway I get:
> "ADC channels config: independent pins, via ANS bits"
> c:\jallib\include\peripheral\adc/adc_channels.jal:3127: "
>        Unable to configure ADC channels.
>        Configuration is supposed to be done using ANS bits
>        but it seems there's no ANS bits for this PIC.
>        Maybe your PIC isn't supported, please report !"
>
>
> What's going on?
>
> Joep
>
> --
> 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