Skip to content

Instantly share code, notes, and snippets.

@topshed
Last active April 20, 2018 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save topshed/396ceabb63c1511eacec38de7695925a to your computer and use it in GitHub Desktop.
Save topshed/396ceabb63c1511eacec38de7695925a to your computer and use it in GitHub Desktop.

Two LEDs on a breadboard

An electronics breadboard (as opposed to the type on which sandwiches are made) is actually referring to a solderless breadboard. These are great units for making temporary circuits and prototyping, and they require absolutely no soldering.

The circuit below uses 2 resistors to limit the current flowing through the LEDs.

Imgur

This sketch uses two digital pins on the Ardunio, set as outputs, to control the LEDs.

Imgur

Challenge

Remove one of the resistors and swap its LED for a buzzer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment