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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/472f9b2f-0d5e-4008-b1f6-5be1500972c0n%40googlegroups.com.

Reply via email to