local setGpio1Fnc = pins.setup(pio.P0_30,0)
sys.taskInit(led.blinkPwm(setGpio1Fnc,500,500))
采用上面的方法调用blinkPwm函数,导致系统重启,不知道如何调用,可以给个例句吗
sys.taskInit(function()while true doled.blinkPwm(setGpio1Fnc,500,500)endend)