PWM LED

Properties

Property Description

Disabled

To disable or enable this block.

Name

The name of this block.

Pin

The pin to which the LED is connected.
Specify as: D<number>. For example: D12.

Source

A source (another block) that sets the intensity of this LED, from 0 (off) to 100 (full on). 50=50% brightness.
It is also possible to specify a fixed number here.

Comment

To optionally enter a comment.
It does not impact the generated firmware.

You can set the intensity to 0 (off), 25, 50, 75 or 100 (full on), in a logic block.

For example, a logic rule to set the intensity of led1 to 50%:

led1 = 50;