Lesson goal: Turn an LED on or off using an Arduino

Previous: Make a 3D-printable XY-graph | Home | Next: Turn on LEDS with mouse

This lesson will show you how to turn an LED on the Arduino on and off.
pinmode(pin,direction)
digitalwrite(pin,level)
Move the mouse over a dotted box for more information.

Now you try. Can you figure out how to turn the LED on? Off?

Type your code here:


See your results here: