This document is an overview of the Arduino platform presented in Portuguese. It discusses the Arduino Uno board, its specifications and components. It also covers Arduino models like Nano and Mini, shields and extensions that can connect to Arduino, and examples of Arduino projects like using an accelerometer or building an Arducopter. The document promotes learning Arduino and provides resources like the Arduino IDE and getting started with coding by blinking an LED. It concludes by stating Arduino is fun to work with.
24. 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
}