Hello,
应给是老版本的。 在你的工程里,CW貌似都不能识别一些关键字。我把下面两条代码屏蔽后,编译就可以通过:
我劝你别在这上面更改了。
然后中断函数也就生成了,直接添加代码就行:
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi su,
Do you use CW10.7 ?
- Please add header file path at here:
If still have error, please share your project .
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello ,
Sorry I can’t unzip your project:
While it doesn’t matter, there is a S12Z demo based on CW, please have a look at the interrupt function, you can refer to it development yours.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello,
应给是老版本的。 在你的工程里,CW貌似都不能识别一些关键字。我把下面两条代码屏蔽后,编译就可以通过:
我劝你别在这上面更改了。
然后中断函数也就生成了,直接添加代码就行:
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------