中断后执行代码 [英] Execute code After interrupt
本文介绍了中断后执行代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
当串行数据到来时,我想使中断工作,然后运行一个代码.
我该怎么做?
解决方案
处理 ^ ]事件-该链接包含示例.
谢谢,但它没有使用中断,是吗?
Hi
When serial data came I wanna make interrupt work,then one code be runed.
How can i do this?
解决方案
Handle the SerialPort.DataRecieved[^] event - the link includes an example.
Thanks but it didnt use interrupt,did it?
这篇关于中断后执行代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文