Please enable JavaScript to use CodeHS

Intro to Programming with Tracy and micro:bit

Lesson 7.4 If/Else Statements




These are all the activities included in the lesson

7.4.1 If/Else Statements
7.4.2 If/Else Statements
7.4.3 If/Else with 'count'
7.4.4 If/If/If with 'count'
7.4.5 LED Position with a Variable
7.4.6 LED Brightness using Buttons
7.4.7 Exploration: Using Servo Motors
7.4.8 Exploration 2.4 Follow-up
7.4.9 Servo Rotation with Reset
7.4.10 Button Controlling LED and Servo
7.4.11 Servo Position by Button Press
7.4.12 Servo with LED display and reset