摘要: 遇到一个比较奇怪的问题,在loop过程中依据条件判定来进行attachinterrupt和detachinterrupt;多个循环周期后,代码执行逻辑就发生了错乱;在attachinterrupt时会先执行绑定的函数,然后再返回执行attachinterrupt后的代码,同时外部中断的触发发生时也不 阅读全文
posted @ 2018-09-13 10:52 GarfieldLoveCoffe 阅读(347) 评论(0) 推荐(0)