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.