The document is about the Arduino, an open-source electronics prototyping platform. It provides an overview of the Arduino hardware, including the Uno, Nano and LilyPad models. It describes the Arduino IDE and programming language, and shows examples of projects like using an accelerometer and building an Arducopter drone. The document encourages people to come up with their own ideas for Arduino projects and notes that Arduino is simple to use.
38. Programando
int ledPin = 13; // LED connected to digital pin 13
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
}
void loop()
{
digitalWrite(ledPin, HIGH); // sets the LED on
delay(1000); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
delay(1000); // waits for a second
}