Request RAK811 PWM sample c code

Hi,@fangfchen

We have add 1 channel PWM function at RAK811 pin_num 2(For RUI use only).
You can use RUI:
RUI_RETURN_STATUS rui_pwm_init(RUI_PWM_ST pwm_st);* to initialize PWM.
RUI_RETURN_STATUS rui_pwm_start(RUI_PWM_ST pwm_st);* to start PWM.
RUI_RETURN_STATUS rui_pwm_stop(RUI_PWM_ST pwm_st);* to stop PWM.
typedef struct RUI_PWM_ST {
** RUI_GPIO_ST rui_gpio;**
** uint32_t frequency; //frequency <= 160000*dutycycle in RAK811**
** uint8_t dutycycle; //value range:0~100 **
} RUI_PWM_ST;

How to use it ,pls refer to :https://forum.rakwireless.com/t/rak-online-compiler-for-you-to-compile-your-customized-firmware-based-on-rui/662
Init and Start PWM pls refer to this C code:
image