Diagram for connecting an LED to an analog PWM Pin 3.PWM Pins on the Arduino board are marked with a (~)
Block Analog PWM output. Pin 3. Signal from 0 to 255.
When the signal value changes, the voltage at Pin changes. Signal: 127 - 50% - 2.5V
Sample program:
Download example: file.ardublock | Open Online ArduBlock
Video: