Learning Goal: We are learning to connect our Arduino to the computer and to program it to do as we say.
Using the Arduino software, try to accomplish the following:
1. Get the LED on your Arduino to repeatedly blink on for 5 seconds and off for 5 seconds.
2. Get the LED to stay on for 10 seconds and off for 1 second repeatedly.
3. Attach an LED to your breadboard and get it to blink at the same rate as the green LED .
4. Attach an LED to your breadboard and get it to blink at a different rate than the green LED .
*Remember to save each sketch with a different filename so you can share it later!
Materials available:
-Wires
-Wire stripper
-LED
-Resistor
-Breadboard
-Arduino Micro
Once you've succeed at all four steps of this challenge, share your code in the comments section of this post.
Click the picture to find out more about breadboards!
Click the diagram to find out more about LEDs!
Stuck? Visit the Arduino website to find examples to help you get started.
Setup Code
Success! Maryam, Merlyn, Rhea, Sharmini have completed all four challenges. Now, they've moved on to crazier things... :)