Noduino Interrupts

来自Jack's Lab
(版本间的差异)
跳转到: 导航, 搜索
(以“== Overview == <br><br>”为内容创建页面)
 
第1行: 第1行:
 
== Overview ==
 
== Overview ==
 +
 +
* attachInterrupt()
 +
* detachInterrupt()
 +
* noInterrupts()
  
 +
<br><br>
 +
 +
== Examples ==
 +
 +
[[文件:RotaryEncoderWaveform.gif]]
 +
 +
Use an encoder example, D8 connect to the channel A, D9 connect to the channel B to receive the interrupt:
 +
 +
<source lang=cpp>
 +
 +
</source>
 +
 +
<br><br>
 +
<br><br>
 +
<br><br>
 +
<br><br>
 +
<br><br>
 +
<br><br>
 +
<br><br>
 +
<br><br>
 +
<br><br>
 
<br><br>
 
<br><br>

2016年8月28日 (日) 08:37的版本

1 Overview

  • attachInterrupt()
  • detachInterrupt()
  • noInterrupts()



2 Examples

RotaryEncoderWaveform.gif

Use an encoder example, D8 connect to the channel A, D9 connect to the channel B to receive the interrupt:






















个人工具
名字空间

变换
操作
导航
工具箱