// FREE MINI-COURSE · C++
Arduino C++ Series
Arduino Coding in 20 Seconds — The C++ you actually need for Arduino, one idea per reel.
8 of 9 lessons out · next: millis() vs delay()
▶ Start lesson 1- 01
5 lines of C++ → a real LED turns ONThe two functions every Arduino sketch has, and pinMode / digitalWrite to drive a pin.
EP.03 · 20 s also in LED Series - 02
Make it BLINKHow delay(ms) controls timing, and why very short delays look like dimming.
EP.05 · 20 s also in LED Series - 03
Make it FADE (PWM)Count a variable from 0 to 255 with a for loop and feed it to analogWrite.
EP.06 · 20 s also in LED Series - 04
Control it with a BUTTONpinMode(INPUT_PULLUP), digitalRead a button, and decide with if / else.
EP.10 · 20 s also in LED Series - 05
Make it a TOGGLEStore a true/false state in a bool and flip it on each button press.
EP.11 · 20 s also in LED Series - 06
Serial.print: see your knob's numberPrint values to the Serial Monitor to debug a sketch.
EP.61 · 24 s also in LED Series - 07 COMING NEXTmillis() vs delay()Time things without freezing the program.
- 08
LED chaser (running light)An array keeps a list of values in one name; leds[i] picks one by its index, starting at 0.
EP.18 · 20 s also in LED Series - 09
Speed knob: potentiometer + analogReadanalogRead(A0) turns 0–5 V on an analog pin into a number 0–1023 (10-bit) you can use in your code.
EP.22 · 20 s also in LED Series
// NEWSLETTER · FREE
Get new lessons + early access to the full course
One email when new lessons drop. No spam, unsubscribe any time.
✓ You're on the list. Check your inbox to confirm.
By joining you agree to the privacy policy.