Parity with Arduino digitalWrite. Fixes gh-247

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Merge pull request #248 from rwaldron/247

Parity with Arduino digitalWrite. Fixes gh-247