Please enable JavaScript to use CodeHS

Intro to Programming in JavaScript with Arduino

Lesson 10.2 If/Else Statements

Description


Objective


Activities

These are all the activities included in the lesson

10.2.1 If/Else Statements
10.2.2 If/Else Statements
10.2.3 LED Brightness with Potentiometer
10.2.4 Stoplight LEDs
10.2.5 LED Brightness using Buttons
10.2.6 Exploration: Using Buttons to Control Code
10.2.7 Exploration 2.2 Follow-up
10.2.8 Servo Position by Button Press
10.2.9 Servo Sweep with Reset