Ty ty, I think I have covered the wiring part, what I would like to see is the logic.
If I understand it correctly it's something like:
disable outputs
send a byte with the segments status
enable outputs
Is this correct?
I think I can get it really fast if I can get a commented piece of code, what is i'm looking for.