This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于写一个中断控制流水灯的程序 出现错误#29 expected an expression F2812芯片



题目是用中断控制小灯  300ms亮   700ms灭
我的思路是做一个100ms的中断 ,计数是7的倍数,灯灭;是三的倍数,灯亮

主函数:

中断

错误

    ConfigCpuTimer(struct CPUTIMER_VARS *Timer, float Freq, float Period);//定时器周期1ms  205页公式       这句话错了

应该怎么改呀