attachInterupt(),用于在arduino中单独进行RISING和FALLING

时间:2015-07-21 08:22:13

标签: arduino interrupt arduino-uno interrupt-handling

我正在使用Arduino uno来读取编码器(光学),我可以单独为RISING和FALLING附加中断而不是使用CHANGE吗?

1 个答案:

答案 0 :(得分:0)

似乎连接到引脚的最后一个中断只能激活。