K Kapnula
💡
Lekce 2 · třída 12+

First project: Blink — the LED blinks

📖 Lekce ──▶ 🎯 Kvíz — vyber překlad ──▶ ✅ Lekce hotová
🔋💡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.
🎯
Vyzkoušej se!
Upevni téma trenérem — jako po hodině
Kvíz — vyber překlad → 🖨 Pracovní list
← Předchozí Další →
⛅ 14° Potsdam 💨 11 km/h
💶 EUR 🇺🇸 1.12 USD 🇷🇺 93.87 RUB 🇵🇱 4.39 PLN 🇺🇦 50.32 UAH EZB · daily