[$group] 元件库-执行器.$pname$ [$min_need_ver] 1.23 [$name] duoji_ctrl_set180 [$shared_func_In_main_c] [$init_code_for_define_area] u8 pul_width2_10us_$rnd_varname_pre$; [$cs] TT_set_pwm_HZ([($_xgm$dev_no_to_use),type=num], #get_stm32_arr_value_at_guding_psc_Input_PWM_Hz(ref_complier,"71","72","50")%-1,72-1); max_zhankongbi_v_$rnd_varname_pre$=#get_stm32_arr_value_at_guding_psc_Input_PWM_Hz(ref_complier,"71","72","50")%; pul_width2_10us_$rnd_varname_pre$=(u8)( (((float)inset_$rnd_varname_pre$-90.00)/90.00)*100.00 + 150.00 ) ; //中位90度时 =16*100us=约为1.5ms TT_set_zhankongbi([($_xgm$dev_no_to_use),type=num],( (float)pul_width2_10us_$rnd_varname_pre$/2000.00 )*500.01 ,[($_xgm$ch),type=num],max_zhankongbi_v_$rnd_varname_pre$); pwn_t2_$rnd_varname_pre$=200 - 2*(u8)(pul_width_10us_$rnd_varname_pre$/10);//2000*10us=20ms [$toolbox_block_code] [$last_ver_update_time] 2022/12/10 0:07:26 [$code_area_type] codes,exe_per_1ms,init_code [$blocks_type] line [$replace_map] $_xgm$dev_no_to_use = $field$dev_no_to_use,mytype|num, ptype|TIMES $_xgm$datjiaodu = $value$datjiaodu,mytype|num, ptype|TIMES