Exercise - Adding Devices to a Program
Appearance
This exercise assumes that you have already built the Flowcode flowchart described in the exercise Creating Your First Flowchart.
To complete the program, you need to add the two electronic components, the switch and the lamp.
Load the Flowcode Flowchart
The flowchart sequence will be:
- Check if the switch is pressed.
- If it isn't, go back to the beginning.
- If it is:
- switch on the lamp;
- wait for 10 seconds;
- switch off the lamp;
- go back to the beginning.