Lab 1- Blink
Description
This is a basic blinking circuit. I've changed the example code from a 1 second delay to a 0.5 second delay.
Components Used
- Arduino UNO
- 220 Ohm Resistor
- Red LED
Code
int led = 13;
void setup() {
pinMode(led, OUTPUT);
}
void loop() {
digitalWrite(led, HIGH);
delay(500);
digitalWrite(led, LOW);
delay(500);
}
Images
- Login to post comments
Drupal theme by Kiwi Themes.