Finish up digitalWrite implementation

In particular, blink example works again!