I’m still learning the FEZ world, and C# as well. This is the most significant bit of work I have done so far on my FEZ Domino, and it’s largely a rework of something similar I have done in the past on an Arduino.
I initially looked at the code posted by ‘bstag’ but couldn’t get it to work, it looks like some parts may have been missed off in the cut&paste.
Anyway, here is my first release of a more complete 74HC595 interface class. It’s fairly well commented so you should be able to figure out what is going on. I plan to add more features in the future, and possibly expand it to include other shift registers (the TLC5940 springs immediately to mind).
** EDIT **
I’ve removed the code as something was completely mucking up the formatting, see below for links to the code.
As I mentioned, I’m still a learned with C#, so I welcome any and all input into the code.
I plan on creating a project within Google Code to maintain this at a future date, once I figure out how to use Google Code