fixed use function
converted pin.writeSync to pin.write
fixed merge conflict
response to comments
Merge pull request #1 from tessel/kb-fix

Kb fix