Main Content
writePWMDutyCycle
Set PWM duty cycle on BBC micro:bit board pin
Description
writePWMDutyCycle(
sets the specified duty cycle value to a pin configured for PWM on the BBC micro:bit board,
specified as a microbit object.microbitObj
,pin
,dutyCycle
)
Examples
Input Arguments
Version History
Introduced in R2017b