On 05/01/10 01:35 am, William wrote:

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.

Yes, the timer0-isr-interval library needs some rework to make it useable for the 18Fs. The recent addition of T0CON aliases for option_reg fields in the device files for the midrange make it possible to control of timer0 in 18F style (as if the T0CON register existed for the midrange). The statements using OPTION_REG names should be changed to use T0CON names instead.

Regards, Rob.


--
Rob Hamerling, Vianen, NL (http://www.robh.nl/)

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