Hello again Rob,

It is working now.
Had changed something in target file that prevent PPS to work properly.
My bad. Sorry.
Thank you once again.

Kind regards,
Filipe Santos.

On Saturday, May 14, 2022 at 6:39:16 PM UTC+1 flyway38 wrote:

> Hi Rob,
>
> Thanks for the heads up.
> Have updated my JALedit to version 1.7.0
> Tried this new version and still got below error log.
> (Have even downloaded your attached file, but same results...)
>
> Compilation started at :14/05/2022 18:34:51
> jal jalv25r6 (compiled Oct 29 2021)
> [Error] (pps_rob.jal) [Line 127]  "_warning" not defined
> [Error] (pps_rob.jal) [Line 127]  'end' expected (got '_warning')
> [Error] (pps_rob.jal) [Line 127]  {IF starts at ..\support\pps_rob.jal:99}
> [Error] (pps_rob.jal) [Line 127]  '=' expected (got '"This PIC has no PPS 
> module"')
> [Error] (pps_rob.jal) [Line 127]  'end' expected (got '"This PIC has no 
> PPS module"')
> [Error] (pps_rob.jal) [Line 127]  {procedure starts at 
> ..\support\pps_rob.jal:97}
> [Error] (pps_rob.jal) [Line 127]  unexpected token: ""This PIC has no PPS 
> module""
>
> [Error] (DMT-TechLogger_v1.10.jal) [Line 163]  "pps_ra1" not defined
> [Error] (DMT-TechLogger_v1.10.jal) [Line 163]  '=' expected (got 
> 'pps_control_lock')
> Compiler CommandLine:  C:\JALLIB~1\compiler\jalv2.exe 
> "C:\Users\Gonçalo\Desktop\DMTM\PIC\DMT-TechLogger_v1.10.jal" -s 
> "C:\JALLIB~1\lib" -no-variable-reuse  
>
> Errors :9       Warnings :0
>
> Thank for your time.
> Cheers.
>
> On Saturday, May 14, 2022 at 4:53:48 PM UTC+1 [email protected] wrote:
>
>> Hi Filip,
>>
>> I included pps.jal in a program for the 16f18323 but did not encounter 
>> any problems.
>>
>> I do see that you are using an old version of the compiler and so I 
>> assume an old version of JAL libraries.
>>
>> Could you try it again after having installed the latest JAL release? It 
>> is recommended to switch to the latest release because more libraries are 
>> fixed (like the one I had sent you today).
>>
>> Or you give it a try with the PPS library from the latest release. I 
>> attached it to this e-mail. Just put it in the same directory as your main 
>> program and recompile it.
>>
>> Kind regards,
>>
>> Rob
>>
>> P.S. About your other post. There was an error in the first version that 
>> I sent you yesterday and was fixed in the one I had sent you today. So your 
>> problem with the floating pin did not cause the problem.
>> ------------------------------
>> *Van:* [email protected] <[email protected]> namens flyway38 
>> <[email protected]>
>> *Verzonden:* zaterdag 14 mei 2022 16:52
>> *Aan:* jallib <[email protected]>
>> *Onderwerp:* [jallib] Help about pps library for the 16F18313 
>>  
>> Hello all, 
>>
>> Need help about this library using this *PIC16F18313*.
>> Using directly *pps* Library gives me many errors, listed below.
>> It seems this PIC target library don't use some of pps library variables.
>> I need to re-direct TX pin for use with serial_hardware library.
>> Have been using serial_software successfully until now.
>> Now I need this RS232 (5V) comms more reactive to external inputs... 
>> That's why migrating to serial_hardware (I hope).
>>
>> Compilation started at :14/05/2022 15:50:31
>> jal jalv24q3 (compiled Sep 27 2014)
>> [Error] (lib/pps.jal) [Line 54]  "ppscon" not defined
>> [Warning] (lib/pps.jal) [Line 54]  BANK used without an associated value
>> [Error] (lib/pps.jal) [Line 54]  '=' expected (got 'eecon2')
>> [Error] (lib/pps.jal) [Line 55]  "eecon2" not defined
>> [Error] (lib/pps.jal) [Line 55]  'end' expected (got 'eecon2')
>> [Error] (lib/pps.jal) [Line 55]  {IF starts at C:\JALLIB~1\lib/pps.jal:53}
>> [Error] (lib/pps.jal) [Line 55]  "eecon2" not defined
>> [Error] (lib/pps.jal) [Line 55]  'end' expected (got 'eecon2')
>> [Error] (lib/pps.jal) [Line 55]  {procedure starts at 
>> C:\JALLIB~1\lib/pps.jal:51}
>> [Error] (lib/pps.jal) [Line 55]  "eecon2" not defined
>> [Error] (lib/pps.jal) [Line 55]  unexpected token: "eecon2"
>> [Error] (DMT-TechLogger_v1.10.jal) [Line 163]  "pps_ra1" not defined
>> [Error] (DMT-TechLogger_v1.10.jal) [Line 163]  '=' expected (got 
>> 'pps_control_lock')
>> [Warning] (lib/pps.jal) [Line 54]  BANK used without an associated value
>> Compiler CommandLine:  C:\JALLIB~1\compiler\jalv2.exe 
>> "C:\Users\Gonçalo\Desktop\DMTM\PIC\DMT-TechLogger_v1.10.jal" -s 
>> "C:\JALLIB~1\lib" -no-variable-reuse  
>>
>> Errors :12       Warnings :1
>>
>>
>> Here's my code.
>>
>> Configurations:
>>
>> -- PPS Setup
>> include pps
>> pps_control_lock(FALSE)                     -- unlock PPS module
>> RA0PPS = PPS_TX                             -- pin_A0 is TX
>> RXPPS  = PPS_RA1                            -- RX is on pin_A1
>> pps_control_lock(TRUE)                      -- lock PPS module
>>
>> Didn't write any "run time" code yet.
>> Thank you very much. 
>>
>> Kind regards
>> Filipe Santos
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jallib/1fb16608-1403-4c41-a067-dbc578fa7303n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jallib/1fb16608-1403-4c41-a067-dbc578fa7303n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/81ee24f8-c2bc-4db7-8a14-d3378227d5ffn%40googlegroups.com.

Reply via email to