Outcome
Following the guidance and tutorials, I was able to make simple circuits to create a blinking LED, then made a connected LED.
Go back to the original program. Now add a second LED to the circuit.
Program the LED’s to alternate blinks i.e. when LED 1 turns on, LED 2 turns off, then when LED 2 turns on, LED 1 turns off.
I connected another led to the circuit and defined it as another ledPin to control the two LEDs on/off state at the same time.
It was very smooth to complete the first 3 exercises by following the instructions. It took me a bit of experiment with writing the code for passing the number of LED blinks, because I need to look up additional functions to make it work.
I found watching the class recording and having the detailed instructions in the tutorial really helpful. Through this exercise, I have learned how to build a simple circuit. It was fun to write the code and build a circuit and test on it. My next steps are to get more familiar with the programming language and learn the affordances of more Internet appliances.
You can upload files of up to 20MB using this form.