FabGL
ESP32 Display Controller and Graphics Library

◆ setDutyCycle()

void setDutyCycle ( int  dutyCycle)

Sets square wave duty cycle.

Parameters
dutyCycleDuty cycle in 0..255 range. 255 = 100%

Definition at line 158 of file soundgen.cpp.