Arduino programming

5. Blink remix

Time to change something and see what happens!

Try the following exercises:

  • Go to the Arduino IDE and change the delay from 1000 to 500 ms.
    • What do you think it is going to happen? :-)
  • Go crazy and change one of the comments.
    • What do you think it is going to happen now? :-D
  • Make the LED go ON for 100ms and OFF for 900ms.
  • Make the LED go ON for 50ms and OFF for 50ms.
  • Now 10ms ON and 10ms OF.
    • What happened?