I'll check and get back. Sunish
On Sun, Apr 4, 2010 at 2:49 PM, Sebastien Lelong <[email protected] > wrote: > Hi Sunish, > > I've committed a new revision of adc_channels.jal lib, with support for > several more PICs, including 18f4525. Can you try and report ? > > As 18f4525 has dependent pins (see > http://code.google.com/p/jallib/wiki/FindADCdep), you'll have to setup ADC > using ADC_NCHANNEL, not using set_analog_pin(...). > > Cheers, > Seb > > 2010/4/4 Sunish Issac <[email protected]> > > Hello Seb, >> >> BTW it would be better to have the error message in two lines.Looks >> prettier in the compiler output window. >> >> _error "\n\tUnable to configure ADC channels.\n\tConfiguration is supposed >> to be done using ANS bits\n\tbut it seems there's no ANS bits for this >> PIC.\n\tMaybe your PIC isn't supported, please report !" >> >> Sunish >> >> >> On Sun, Apr 4, 2010 at 1:41 AM, Sebastien Lelong < >> [email protected]> wrote: >> >>> Hi Sunish, >>> >>> This PIC (and sisters) doesn't seem to be supported by current ADC libs. >>> I need to update some ADC related file (adc_pcfg.py). I'll also update libs >>> for: >>> >>> - 39626E : 18F2525 18F2620 18F4525 18F4620 >>> - 39625C : 18F2585 18F2680 18F4585 18F4680 >>> >>> >>> Cheers, >>> Seb >>> >>> 2010/4/3 Sunish Issac <[email protected]> >>> >>>> I get this message >>>> adc_channels.jal:2706: "You can't specify the number of ADC channel with >>>> ADC_NCHANNEL, you have to use set_analog_pin(...)" >>>> >>>> What does it mean ? If I replace it with set_analog_pin(1) I get >>>> >>>> "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 !" >>>> >>>> Sunish >>>> >>>> -- >>>> 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]<jallib%[email protected]> >>> . >>> For more options, visit this group at >>> 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]<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]<jallib%[email protected]> > . > For more options, visit this group at > 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.
