K Kapnula
💡
Leçon 2 · classe 12+

First project: Blink — the LED blinks

📖 Leçon ──▶ 🎯 Quiz — choisis la traduction ──▶ ✅ Leçon terminée
🔋💡Closed circuit — bulb lights

The "Hello World" of electronics — a blinking LED. On the breadboard (solderless board): long LED leg (anode, +) → pin 13 via 220-Ω resistor → short leg (cathode, −) → GND. Without the resistor the LED burns out — like in our circuit lab! Code: setup() runs once — pinMode(13, OUTPUT). loop() runs forever — digitalWrite(13, HIGH) → delay(1000) → LOW → delay. Uploaded — and it blinks once a second.

🔌 Try our <a href="/elektro/labor" class="underline">Circuit Lab</a> first — build LED + resistor + switch in 2 minutes. All code can be tested free in the Wokwi online simulator — no board needed.
🎯
Teste-toi !
Consolide le sujet avec l’entraîneur — comme après le cours
Quiz — choisis la traduction → 🖨 Fiche de travail
← Précédente Suivante →
⛅ -1° Potsdam 💨 10 km/h
💶 EUR 🇺🇸 1.10 USD 🇷🇺 90.26 RUB 🇵🇱 4.48 PLN 🇺🇦 49.54 UAH EZB · daily
⛽ Fuel E5 1.839€ E10 1.779€ Diesel 1.989€ POTSDAM · tankerkönig.de