phalox wrote:
> When I try to compile Blink_a_led (example for 16F877, not the A
> version) I get this error from the library that's behind it.
>
> jal 2.4k (compiled May 7 2009)
> [Error] (libraries/16f877.jal) [Line 867] "adc_v1" not defined
> [Error] (libraries/16f877.jal) [Line 867] constant expression
> expected
> [Error] (libraries/16f877.jal) [Line 867] '=' expected (got
> 'procedure')
>
> I don't know what's wrong... the 16F877A library doens't give this
> error.
Hi Toon,
Stange! Both device files are the same in this respect: both have a line
> const ADC_GROUP = ADC_V1
(the 16f877a on line 884 in the latest release).
The value of ADC_V1 is specified in chipdef_Jallib.jal, which is
included by every device file.
So it looks like you have a different setup for the 16F877 and 16F877A
maybe compiler option -s is pointing to an older version of jallib, or
you have modified one of the libraries.... difficult to judge with this
info. Both compile here without problems.
Regards, Rob.
PS: Pls put your name under your msgs so I don't have to search for it.
--
Rob Hamerling, Vianen, NL (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
-~----------~----~----~----~------~----~------~--~---