- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
Basic led flashing project
Arduino Uno - 01
Breadboard - 01
330 Ohm Resistor - 01
LED - 01
Jumper wires
Arduino Sketch
void setup() // Function is called when sketch start{
pinMode(1, OUTPUT); // Pin 1 is an output (specified pin to behave
} // - either as an input or an output)
void loop() // continuously run program
{
digitalWrite(1, HIGH); // pin 1, LED ON
delay(1000); // wait for 1000 millisecond
digitalWrite(1, LOW); // pin 1,LED OFF
delay(1000); // wait for 1000 millisecond
}

Comments
Post a Comment