The current seven_segemnt library requires all pins on one port, which
makes the code compact and fast. I would suggest to keep this and
*extend* the library if seven_segment support is desired on different
ports.

However, in stead of adapting the jseven library, it might be a better
idea to have a generic routine to map a 'virtual port' to arbitrary
pins. This could be dynamic and - if this is more compact - also
static. Such a routine could also be used in lcd_hc44780_4 and
lcd_hc44780_8 to substitute the embedded routines if it does not
enlarge the libraries footprint.

Joep

2010/1/19 mattschinkel <[email protected]>:
> When this is done, could seven_segment be updated? I believe it
> currently requires an 8 bit port.
>
> 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].
> For more options, visit this group at 
> http://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