Overview

日本語のページ

The "PWM output" group contains blocks for performing PWM output.
Since the PWM output mechanism differs depending on the microcontroller, each microcontroller has a separate block.

ESP32 series

To perform PWM output with ESP32, use the blocks in the "ESP32" group.
PWM output can be performed at different frequencies for each pin.
Up to 16 PWM outputs can be performed on the original ESP32, and up to 8 PWM outputs can be performed on the ESP32-S3 and ESP32-C3.

Blocks of "PWM Output" - "ESP32" group

ESP32 series (deprecated)

If you are compiling firmware for the ESP32 using version 2 of the Arduino Core for the ESP32, use blocks from the "ESP32 (deprecated)" group.

ESP32 uses "channels" to perform PWM output.
You can assign pins to channels and perform PWM output at different frequencies for each channel.
You can use 16 channels with the ESP32, and 8 channels with the ESP32-S3 and ESP32-C3.

ESP32 series PWM output block

Raspberry Pi

Raspberry Pi allows you to set different frequencies for each pin and perform PWM output.

Raspberry Pi PWM output block

Raspberry Pi Pico/PicoW

Raspberry Pi Pico/PicoW outputs PWM at the same frequency to all pins.

Raspberry Pi Pico/PicoW PWM output block