Generate square wave on the specified output pin
Simulink Coder Support Package for BBC micro:bit/Basic
Simulink Coder Support Package for STMicroelectronics Nucleo Boards/ Common
Simulink Coder Support Package for STMicroelectronics Discovery Boards/ STM32F746G-Discovery
Simulink Coder Support Package for STMicroelectronics Discovery Boards/ STM32F769I-Discovery
The PWM Output block outputs the pulse width
modulated (PWM) signal at the specified pin on the board. The block
accepts duty cycle as the input. You can provide a value between 0–100 as
the block input. An input value of 0 produces a
0% duty cycle and an input value of 100 produces
a 100% duty cycle.