Skip to content

Commit

Permalink
Merge pull request tessel#67 from rwaldron/only-tell-me-once
Browse files Browse the repository at this point in the history
Only display the blinking and quitting message once.
  • Loading branch information
Frijol committed Dec 16, 2015
2 parents c896302 + 3aca5ab commit f0d8533
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 @@ -38,10 +38,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 f0d8533

Please sign in to comment.