It is possible to alias "option" reg (I don't think is working for any
18F) if PIC_16 is detected but also other changes are needed. I don't
know if this is wanted...
Anyway, timer0_poll_interval is a good addition if interrupts are  do
not needed.

Vasi(funlw65)

On Apr 30, 7:35 pm, William <[email protected]> wrote:
> Greetings,
>
> I recently tried to use timer0_isr_interval library on an 18F and it
> would not compile for my chip -- 18F2585 -- things like option regs
> have different definitions.  However, I noticed that recent work for
> adc (IIRC) to work on both 16F and 18F makes life easier for timer0.
>
> I didn't need or want the ISR, so I derived the new library --
> timer0_poll_interval.  It works on 18F, in the 16-bit timer0 mode, and
> also it should work on 16F, but I didn't test that yet.
>
> I hope someone will update timer0_isr_interval library to work on both
> 16F and 18F, using the new names for option reg, etc.  It may be worth
> looking at timer0_poll_interval for specifics.  I am not set up right
> now with both 16F and 18F boards or I would work on it myself.
>
> William
>
> --
> 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 
> athttp://groups.google.com/group/jallib?hl=en.

-- 
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.

Reply via email to