Public projects 2

Enter the house like a Sith Lord

Project tutorial by Prasantha Jayakody

  • 19,426 views
  • 10 comments
  • 73 respects

Countdown Timer

Project tutorial by Prasantha Jayakody

  • 20,048 views
  • 13 comments
  • 33 respects

Toolbox 1


Replicated projects 0

 Prasantha Jayakody hasn't replicated any projects yet.

Respected projects 2

Persistence Of Vision

Project tutorial by Ravi Parmar

  • 17,031 views
  • 6 comments
  • 45 respects

Smart Switch

Project in progress by Sameer

  • 48,595 views
  • 6 comments
  • 109 respects

  • Countdown Timer over 2 years ago

    The simplest modification would be just to hard code the timer's duration - I would start there. In order to do that, comment out all the code in the loop function except this line:
    startTimer(60000);

    Now, instead of getting the duration from the phone, it will automatically set the duration for one minute and start the timer.

    If that doesn't work, you may have to also comment out the initializations of the virtual shield (line 12), the screen (line 15), the speech (line 18), and the recognition (line 21) as their maybe errors thrown if there is no device available (I can't remember).

  • Countdown Timer over 2 years ago

    Definitely. You can either hard code the duration of the timer or use so other input mechanism. For example, I have a version that has two buttons - one button adds a minute to the timer's duration each time it's pushed and the other button starts the timer.

  • Countdown Timer over 2 years ago

    Yes. You'll just need some other way to set the timer. I have done a variation which uses two momentary push buttons. When one button is pressed, you are adding a minute to the timer (and one LED is lit for each minute). Then, when you press the other button, the timer starts counting down. That way everything self contained and you don't need a bluetooth modem either.

Add projectSign up / Login