if (h>=1800) ftm_pwm_duty(FTM1,FTM_CH0,2000);
if (h<=1200) ftm_pwm_duty(FTM1,FTM_CH0,1100);
// h=(d-f)*900/80+1550;
//g=pow(b/1600,1.0/3);
// if (h>1200|h<1800)
// { ftm_pwm_duty(FTM1,FTM_CH0,h);
// if (a<60) ftm_pwm_duty(FTM1,FTM_CH0,2000);
// if(c<60) ftm_pwm_duty(FTM1,FTM_CH0,1100);
// }
// if (h>=1800) ftm_pwm_duty(FTM1,FTM_CH0,2000);
//
// if (h<=1200) ftm_pwm_duty(FTM1,FTM_CH0,1100);
}
}
他说Error[Pe109]: expression preceding parentheses of apparent call must have (pointer-to-) function type C:\Users\lenovo\Desktop\ADC - 副本\App\main.c 74 前括号表达式的调用必须有(指针)函数类型 请问这是为什么怎么改 求大神指教