Hi Matt,

2010/1/21 mattschinkel <[email protected]>:
> The procedure without a timer would be usefull for PIC's that don't
> have timers, or of someone wants to use many servo's on an external
> PIC. This may not be needed if we can get 8 servo's on one timer.
I don't see how this can be useful if you have more then one servo,
and the remaining 'market' - controlling servos from a pic without
timers - is probably very small. Hence, not very useful in practice.

> How can I get a timer to run a procedure when the timer is up without
> polling it?
Interrupts. The isr_interval library uses this, so look there for an example.

BTW: the servo library also needs an init-function. In the current
setup, this must setup the isr_interval library (which should also be
included, together with delay.jal).

> Anyways, at least this is a start.
It sure is a start and I admire your enthusiasm energy!
However, this library does need more thinking & work to become a
jallib-worthy library (providing useful functionality working smoothly
without posing too much limitations on the user program, with a clear
and powerful interface).

Joep

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