Repeat with for

Beginner

Use a for loop to repeat an action an exact number of times. Blink LEDs, play tones, and count — all without copying the same code over and over.

12 min6 steps
LoopsForLEDBuzzerProgrammingBeginner
0 of 6 steps

Step 1 of 6

Connect your board

Power on your Beaver Board — the OLED will show a PIN code. Click Connect in the toolbar, choose Connect via Bluetooth, and select your board. If it's your first time, enter the PIN shown on the screen.