On 10/10/15 19:42, Joep Suijs wrote:
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(...)"
Maybe because the 18F242 has only 5 ADC channels?
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].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.