Hi Richard,

I've also seen your commit on Jaluino repository for this library, and I can
see there are lots of similarities between jallib and jaluino version. Can't
these two versions be merged ?

This is actually an interesting example of how we have to separate:

  -  generic lib part: not related to any hardware, user code has to define
aliases to match his hardware
  - hardware specific lib part: since hardware is given (both board ie. pin
assignement, but also PIC itself), some initialization parameters become
part of the lib, not user code anymore, which results in a simplified init
process.

Ideally, jaluino lib (hardware specific) should include jallib lib generic.
I guess generic lib only deals with the stepper logic, providing high level
procedures for end user. specific lib deals with pin assignment, and maybe
interrupt specific registers, except if interrupts can be abstracted in
generic lib. I'm not sure if I'm clear :)

I personally found it easier to write the whole lib in jaluino repository
and keep in mind that some part should move in a generic lib, then doing
this later. This is what I did for Firmata library for instance.

I didn't have time to have a deep look, but will. I can help if you want.


Cheers,
Seb

2010/5/26 <[email protected]>

> Revision: 2069
> Author: [email protected]
> Date: Wed May 26 10:49:22 2010
> Log: add steppermotor.jal based on single_stepper lib for single_stepper
> shield
> http://code.google.com/p/jallib/source/detail?r=2069
>
> Added:
>  /trunk/include/external/motor/stepper/steppermotor.jal
>
> --
> 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]<jallib%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/jallib?hl=en.
>
>


-- 
Sébastien Lelong
http://www.sirloon.net
http://sirbot.org

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