Please enable JavaScript to use CodeHS

Intro to CS in Python with Arduino

Lesson 7.2 If/Else Statements




These are all the activities included in the lesson

7.2.1 If/Else Statements
7.2.2 If/Else Statements
7.2.3 LED Brightness with Potentiometer
7.2.4 Stoplight LEDs
7.2.5 LED Brightness using Buttons
7.2.6 Exploration: Using Buttons to Control Code
7.2.7 Exploration 2.2 Follow-up
7.2.8 Servo Position by Button Press
7.2.9 Servo Sweep with Reset