Hi Emil,

On 08.12.14 19:49, Emil Johnsen wrote:
Den 08.12.2014 12:17, skrev Emil Johnsen:
Hi,

The 16f1455.jal file does not define pin_a0, pin_a1 and pin_a2. Not
sure if anything else is missing, but not found anything so far.

I have added this code and it compiles, but I'v not tested it. I will
test if it works tonight:

Tested it now, pin_a0 and pin_a1 does not work. Not sure why.. Obviously
pin_a2 doesn't work either, that was a bit of pebkac on my part as this
chip doesn't have an A2 pin..

Datasheet 40001639B page 127, esp. the Note in section 12.3.4 is pretty clear. When the USB module is disabled RA0 and RA1 can be used, but only as input.. So declarations of pin_A0 and pin_A1 should be in the device file (and for compatibility reaseons also the pin directions in the TRISA register).
It is a similar situation as with 18[l]f13k50 and 18[l]f14k50.

BTW Same applies to the 16[l]f1454 and 16[l]f1459
If you find more, please report.

Regards, Rob.

--
R. Hamerling, Netherlands --- http://www.robh.nl

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to