Today I set about tinkering on an old project involving driving a multiplexed 7-segment display. I will be writing about this in more detail shortly. Here's a snap from today's session
As for modularising C code, here are some fantastic resources on the topic