K Kapnula
💡
Lekcja 2 · klasa 12+

First project: Blink — the LED blinks

📖 Lekcja ──▶ 🎯 Quiz — wybierz tłumaczenie ──▶ ✅ Lekcja zaliczona
🔋💡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.
🎯
Sprawdź się!
Utrwal temat trenerem — jak po lekcji
Quiz — wybierz tłumaczenie → 🖨 Karta pracy
← Poprzednia Następna →
💶 EUR 🇺🇸 1.12 USD 🇷🇺 93.71 RUB 🇵🇱 4.37 PLN 🇺🇦 50.44 UAH EZB · daily
⛽ Fuel E5 2.119€ E10 2.059€ Diesel 2.169€ Potsdam · tankerkönig.de