12F519's device file used to define pin_B*, not pin_A*.

svn diff -r1045 12f519.jal

It was updated while you migrate PORTB to GPIO, according to the logs:

svn log -r1045 12f519.jal

Fixed in pinmap.py, as of rev. 1066. I may not re-generate adc_pindef.jal,
since the information in this file is about aliasing pins. I'll update my
libs to get rid of adc_pindef.jal and use your aliases.

PS: in adc_pindef.jal, I define a constant:


const byte ADC_NTOTAL_CHANNEL = 2


This is the total number of ADC channels. I'm not using it right now, but I
may use it later to do some sanity check (if user wants more channels than
available => error). Could this be added in device files as well ? The rule
I used was: "if an alias starts with "AN", then it's an analog pin => total
+= 1).


Cheers,
Seb


2009/7/1 Rob Hamerling <[email protected]>

>
>
> Hi Seb,
>
> Sebastien Lelong wrote:
>
> > Fixed, as well as 12HV609 and 615 from a previous post. rev. 1065.
>
> Now the 12F519 (again)..
> - .dev files specify PORTB
> - datasheet specify GPIO
> - Jallib device files call it GPIO (datasheet dictates!) and
>   PORTA, pins are name pin_Ax (Jallib normalisation)
> - pinmap.py calls the pins RBx.
>
> I thought the 'RB0' in
> >  '12F519': {'RB0': ['GP0', 'ICSPDAT'],
> comes from our device files(?)....  Better make that 'RA0' (etc).
>
> Regards, Rob
>
> --
> Rob Hamerling, Vianen, NL (http://www.robh.nl/)
>
> >
>


-- 
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