Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Looks great! It works fine but I cannot get the timer to stop, I can name the time and disable it I guess but the documentation does not show how to type the variable that holds the timer. something like this? int blinky = timer.setInterval(1000, RepeatTask); Commented Nov 2, 2016 at 21:11
  • The type of the timerId is int. You could call timer.disable(blinky); to turn off one repeating timer. Commented Nov 3, 2016 at 0:12