Lesson 5 of 6
Make an automatic nightlight and discover how logic, conditionals and inputs and outputs combine to make a simple control system.
- Understand how inputs, outputs, and computer code work together to make control systems.
- Understand how logic (conditional ‘if… then… else’ instructions) is used to make different outputs happen depending on changes in data from a sensor.
- Use ‘forever’ infinite loops to keep control systems responding to changes in the environment.
- Practise testing and improving a project to make the nightlight work better in specific local lighting conditions.