YARPF

Raspberry Pi Logo YetAnotherRaspberryPiFanpage

2 - Una LED

Plan

wiring plan

Board

bread board

Code

int pinLED = 13;

void setup() {
  pinMode(pinLED, OUTPUT);
}

void loop() {
  digitalWrite(pinLED, HIGH);
}
int pinLED = 13;

void setup() {
  pinMode(pinLED, OUTPUT);
}

void loop() {
  digitalWrite(pinLED, HIGH);
  delay(1000);

  digitalWrite(pinLED, LOW);
  delay(1000);
}

Download

Fritzing: X.fzz

Comments ?

blog comments powered by Disqus