Skip to content

Commit

Permalink
Only display the blinking and quitting message once.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Oct 26, 2015
1 parent c8dc521 commit 3aca5ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion blinky.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ tessel.led[2].on();

// Blink!
setInterval(function () {
console.log("I'm blinking! (Press CTRL + C to stop)");
tessel.led[2].toggle();
tessel.led[3].toggle();
}, 100);

console.log("I'm blinking! (Press CTRL + C to stop)");
{% endhighlight %}

</div>
Expand Down

0 comments on commit 3aca5ab

Please sign in to comment.