Block Variable value W.
Add the value 1 to the variable W.
Let's assign a new value to the W variable from the analog port A0.
Let's send the value of the W variable to the Port Monitor.
Sample program:
Download example: file.ardublock | Open Online ArduBlock
Video: