Please enable JavaScript to use CodeHS

Introduction to Physical Computing with micro:bit

Lesson 2.4 If/Else Statements




These are all the activities included in the lesson

2.4.1 If/Else Statements
2.4.2 If/Else Statements
2.4.3 If/Else with 'count'
2.4.4 If/If/If with 'count'
2.4.5 LED Position with a Variable
2.4.6 LED Brightness using Buttons
2.4.7 Exploration: Using Servo Motors
2.4.8 Exploration 2.4 Follow-up
2.4.9 Servo Rotation with Reset
2.4.10 Button Controlling LED and Servo
2.4.11 Servo Position by Button Press
2.4.12 Servo with LED display and reset