Promotion background
Spring Reset IS HERE!
10% off limited time offer!
Ends in
00
H
00
M
00
S
limited time offer SAVE 10% NOW →

Arduino Uno Programacion Ejemplos Apr 2026

3.1 Pin Mode and Digital I/O Pins must be configured as INPUT or OUTPUT using pinMode() .

const int ledPin = 13; int ledState = LOW; unsigned long previousMillis = 0; const long interval = 1000; // 1 second void setup() pinMode(ledPin, OUTPUT);

void loop() sensorValue = analogRead(A0); // Read 0-1023 Serial.println(sensorValue); // Print to serial monitor delay(100); arduino uno programacion ejemplos

void loop() Components: Servo motor (e.g., SG90). Connect signal wire to pin 9, power to 5V, ground to GND.

Components: 10kΩ potentiometer. Connect middle pin to A0, outer pins to 5V and GND. Components: 10kΩ potentiometer

Avoids delay() to allow other tasks to run simultaneously.

void loop() buttonState = digitalRead(buttonPin); void loop() buttonState = digitalRead(buttonPin)

| Library | Purpose | |---------|---------| | LiquidCrystal.h | Control LCD displays (16x2, 20x4) | | Servo.h | Control up to 12 servos | | Stepper.h | Control stepper motors | | DHT.h | Read temperature/humidity sensors | | SPI.h / Wire.h | SPI and I2C communication | 6. Debugging and Serial Communication The Serial Monitor (Tools → Serial Monitor) is essential for debugging.

My Cart (0 items)
arduino uno programacion ejemplos

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy
This site uses cookies to personalize content, enhance your experience. By continuing, you agree to our cookie use. Learn more