Escolar Documentos
Profissional Documentos
Cultura Documentos
Trabalho Praticos N.º 1 - LED Piscante
Trabalho Praticos N.º 1 - LED Piscante
• Breadbord
• LED de 5 mm
• Resistência de 100Ω (Esse valor pode ser diferente, dependendo do LED que utilizar).
• Fios jumper
// Project 1 - LED Flasher
void setup()
{
pinMode(ledPin, OUTPUT);
}
void loop()
{
digitalWrite(ledPin, HIGH);
delay(1000);
digitalWrite(ledPin, LOW);
delay(1000);
}
1 de 1