led interface with arduino uno

Ғылым және технология

code:
const int ledPin = 13; // the number of the LED pin
void setup() {
// set the digital pin as output:
pinMode(ledPin, OUTPUT);
}
void loop() {
digitalWrite(ledPin, HIGH);
delay(1000);
digitalWrite(ledPin, LOW);
delay(1000);
}

Пікірлер

    Келесі