Hi Matt,

There doesn't seem to be PICs with more than two (and most importantly
that's a finite number :)) so I would suggest to have another
serial_hardware2.jal library. To avoid code duplication and ease
maintenance, I would suggest to use a template.

This is what I did for PWM libs at the very first days of jallib. There were
only 5 PWM max, then appeared (or we discovered) PICs with 10 PWM, I just
replace 5 by 10 in my template script and voilĂ .

Cheers,
Seb

2010/9/30 mattschinkel <[email protected]>

> I would like to use the 2nd serial port on 16f67j50 because of the
> port/pin location.
>
> I think we could either have a 2nd serial_hw library, or add a
> constant to the current library so the user may choose what port they
> wish to use.
>
> What do you think?
>
> Matt.
>
> --
> 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