Arduino Lab 1: Patient Status
Background: We want to test LEDs and write some code to be sure we can blink them on and off at different rates. This will allow us to use different LEDs to represent two different data points, like a patient's heart rate and their breathing rate.
Goal: Blink 2 external LEDs on and off at different rates.
Circuit Setup
- 2 LEDs - your choice of color
- 2 Series Resistors (220 Ohms or 330 Ohms)
- Connect each individual LED with a series resistor to a digital pin.

Lab Instructions
- Configure the 2 digital pins as output.
- Blink the first LED on and off every 1 second.
- Blink the second LED on and off every 2 seconds.
- It's harder than it seems! Try to draw out a diagram of the on/off pattern for both together.