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].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.