Merge pull request #196 from chrisbodhi/patch-1

Update keyboard.markdown
This commit is contained in:
Ron Evans 2014-06-06 18:25:10 -04:00
commit de7b352077
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ It will have a single connection and device, both to the keyboard.
When we tell this robot to work, it's going to listen to the 'a' key on the
keyboard and let us know when it's been pressed.
work: (my) function() {
my.keyboard.on('a', function(key) { console.log "A PRESSED!" });
work: function(my) {
my.keyboard.on('a', function(key) { console.log("A PRESSED!") });
}
With that done, let's get started!