hi rob, there's no reason adc_read(30) works... maybe it reads all channels on default? cheers seb Le 2 févr. 2012 16:49, "Rob Hamerling" <[email protected]> a écrit :
> > Hi Seb, > > On 01/30/12 08:25 pm, Sebastien Lelong wrote: > > Given all of this, I've adapted adc_channels.jal, can I ask you to try >> attached lib ? If it's working I'll report modification on template file. >> >> > I've reported that this modification works. > > FYI: I noticed that the 16f1527 has actually 32 ADC channels, of which > channel 30 is to read the builtin temperature and channel 31 to read the > Fixed Voltage Reference (after configuring register FVRCON properly). And > indeed: read_adc(30) and read_adc(31) do work properly! > > 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 jallib+unsubscribe@** > googlegroups.com <jallib%[email protected]>. > For more options, visit this group at http://groups.google.com/** > group/jallib?hl=en <http://groups.google.com/group/jallib?hl=en>. > > -- 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.
