I increased the blinking speed of my Green LED to 88ms. It's blinking quite fast, so my eyes are getting tired of looking at it =). I connected the resistor to input 13, then the LED, and then completed the circuit at ground. There are issues with the code tags, so they aren't coming out with spaces/indents. Can that be fixed?
Components Used:
1 220 Ohm Resistor
1 Arduino Uno
1 Green LED
1 Breadboard
Code:
int led = 13;
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(88); // wait for 88 ms
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(88); // wait for 88 ms
}
- Login to post comments