The <GPIO_PWM> block allows you to configure one of the Raspberry Pi’s GPIO pins as a PWM (Pulse Width Modulation) output and set its value, unless “close” is true.
Refer to the gpiozero module documentation for more details.
•« close » : Resets the pin to its default state if true. The default value is false
•« pin » : The BCM number of the GPIO pin. The default value is 0 (type int)
• « value » : This is the desired state of the PWM output, between 0.0 and 1.0. The default value is 0 (float type)
•« status » : -1 if the pin is not configured, 0 if OK, 3 if configured as “PWMLED”
•« obj » : This is the “PWMLED” object (stored variable)
When a Raspberry Pi is used as the target, this block allows you to use a GPIO pin as a PWM output. Note that PWM functionality is native on certain pins.