Wiki - Variables - Assign Value

Block Assign value to variable W.

Assign a new numeric value to the W.

Assign a new value to the W variable from the analog port A0.

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