Wiki - Cycle - Repeat 10 times

Repeat block, one action, n - number of times!

Example: 10 times assign a new value to the W variable (W + 1) and send the port monitor to the serial.

After 10 repetitions, assign the new value 0 to the W variable.

Sample program:

Download example: file.ardublock | Open Online ArduBlock

Video:

Components from Aliexpress

LED

Button

Resistor

Potentiometer

Arduino Pro Mini

Arduino Nano

Arduino Uno

Arduino Uno R3

Arduino Mega

Arduino Leonardo

Bread board

Training set