set PWM pin () output as () is a stack block available in evive block, Arduino Uno block, Arduino Mega block, and Arduino Nano block. The block set PWM output on evive PWM pins. The user can select the output from a range of 0 to 255. If the PWM output is 128, then half the time output will be High and for rest, the output will be Low.
Available pins:
- evive: 12 PWM pins available to the user: digital pins 2 to 13
- Arduino Uno: 6 PWM pins available to the user: digital pin 3, 5, 6, 9, 10 and 11
- Arduino Mega: 15 PWM pins available to the user: digital pin 2-13, 44-46
- Arduino Nano: 6 PWM pins available to the user: digital pin 3, 5, 6, 9, 10 and 11
You can select the pin using the drop-down menu.

Note: This block is available in both Upload mode and Stage mode.
Example
- Controlling Pin 13 LED brightness using potentiometer 1 in stage mode.
- Controlling Pin 13 LED brightness using an analog sensor connected to analog pin A0 in upload mode.