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