Hi Filipe,
Are you using a 16f19176?
If so it seems that you are still using the old library. I do not know how you 
installed the bee-package but I assume you just unzipped it and used it to 
replace your previous installation.

Met vriendelijke groet,
Rob Jansen
________________________________
From: [email protected] <[email protected]> on behalf of flyway38 
<[email protected]>
Sent: Tuesday, December 13, 2022 9:19:12 PM
To: jallib <[email protected]>
Subject: Re: [jallib] PIC16F19176 Timer Lib

Problem is now solved.
I think that when replaced new files from last Bee Package was having that LIB 
open in editor and maybe that prevented from old file to be overwritten.
Now am good to go, with no errors.
Thank you very much.

Cheers,
FS

On Tuesday, December 13, 2022 at 7:27:47 PM UTC flyway38 wrote:
Correction.
Problem is the same as in first post.
[Error] (lib/timer0_isr_interval.jal) [Line 56]  "intcon_tmr0ie" not defined
[Error] (lib/timer0_isr_interval.jal) [Line 56]  'end' expected (got 
'intcon_tmr0ie')
[Error] (lib/timer0_isr_interval.jal) [Line 56]  {function starts at 
C:\JALLIB~1\lib/timer0_isr_interval.jal:53}
[Error] (lib/timer0_isr_interval.jal) [Line 56]  "intcon_tmr0ie" not defined
[Error] (lib/timer0_isr_interval.jal) [Line 56]  unexpected token: 
"intcon_tmr0ie"
[Error] (ParqTelm_V05.jal) [Line 295]  "timer0_isr_init" not defined
[Error] (ParqTelm_V05.jal) [Line 295]  unexpected token: timer0_isr_init

Problem in my last post was due to copying your code and directly pasted in my 
code...
Some odd chars were inserted instead of the spaces.

So, problem is still the same.
How can I have sure about using the correct LIB?
Thank you once again.

Cheers,
FS

On Tuesday, December 13, 2022 at 7:20:34 PM UTC flyway38 wrote:
Hey Rob,

Have used that code above and now am getting only one error:

[Error] (ParqTelm_V05.jal) [Line 290]  unexpected token:

This line is;
const word TIMER0_ISR_RATE = 1000

Don't know why this error is happening...
Thank you very much.

Regards,
FS

On Tuesday, December 13, 2022 at 6:43:33 PM UTC [email protected] wrote:
Hi Filipe,

I download the same package but the correct version is in that bee-package.

The following program compiles without any errors.

include 16f19176

pragma target clock    32_000_000

const DELAY_SLOTS = 2
const TIMER0_ISR_RATE = 1000

include timer0_isr_interval

Are you referring to the correct library?

Kind regards,

Rob

________________________________
Van: [email protected] <[email protected]> namens flyway38 
<[email protected]>
Verzonden: dinsdag 13 december 2022 19:31
Aan: jallib <[email protected]>
Onderwerp: Re: [jallib] PIC16F19176 Timer Lib

Hello again,
Have already replaced all files from 
jallib-pack-bee-jalv25r6-20221120.zip<http://justanotherlanguage.org/sites/default/files/ftp_server/builds/bee/jallib-pack-bee-jalv25r6-20221120.zip>
 into my JALinstalation but didn't solve the problem I reported above.
Maybe I didn't do the update correctly...
Any help would be great.
Thank you.

Cheers,
FS

On Tuesday, December 13, 2022 at 5:51:02 PM UTC flyway38 wrote:
Hello Rob,

Thank you for the information.
Will check and download latest package.
Thanks.

Greetings,
FS

On Tuesday, December 13, 2022 at 5:41:54 PM UTC [email protected] wrote:
Hi Filipe,

I think you are not using the latest bee-package.

I fixed this problem in the timer0_isr_interval.jal library in May of this 
year. The problem was reported earlier by someone else.

Please download the latest bee-package from the JAL website.

Thanks.

Kind regards,

Rob


________________________________
Van: [email protected] <[email protected]> namens flyway38 
<[email protected]>
Verzonden: dinsdag 13 december 2022 18:27
Aan: jallib <[email protected]>
Onderwerp: [jallib] PIC16F19176 Timer Lib

Hello,

New problem.
Trying to use Timer Lib; timer0_isr_interval
Getting this error:

[Error] (lib/timer0_isr_interval.jal) [Line 56]  "intcon_tmr0ie" not defined
[Error] (lib/timer0_isr_interval.jal) [Line 56]  'end' expected (got 
'intcon_tmr0ie')
[Error] (lib/timer0_isr_interval.jal) [Line 56]  {function starts at 
C:\JALLIB~1\lib/timer0_isr_interval.jal:53}
[Error] (lib/timer0_isr_interval.jal) [Line 56]  "intcon_tmr0ie" not defined
[Error] (lib/timer0_isr_interval.jal) [Line 56]  unexpected token: 
"intcon_tmr0ie"
[Error] (ParqTelm_V05.jal) [Line 288]  "timer0_isr_init" not defined
[Error] (ParqTelm_V05.jal) [Line 288]  unexpected token: timer0_isr_init

Believe it has to do with PPS issues, but need help on how to make use of a 
timer in my code.
Thank you very much.

Best 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/6a20f0d0-8d2d-4d33-999d-ac7d772e7470n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/6a20f0d0-8d2d-4d33-999d-ac7d772e7470n%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/7edfc801-34e0-4727-9de7-ef2e3f283d68n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/7edfc801-34e0-4727-9de7-ef2e3f283d68n%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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/fef5b382-32e1-42d1-84c1-2c5e89572b43n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/fef5b382-32e1-42d1-84c1-2c5e89572b43n%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/GVXP195MB16376C53466EEAE46747268AE6E09%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM.

Reply via email to