![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
[arduino]
jhonguy
这个作者很懒,什么都没留下…
展开
-
arduino学习1
在arduino的官网页面 http://arduino.cc/en/Reference/HomePage 中有下面这段 Looking for something else? See the libraries page for interfacing with particular types of hardware. Try the list of community-contr原创 2011-12-01 14:40:52 · 548 阅读 · 0 评论 -
Arduino 中使用定时中断
Arduino的库中本身没有提供操作定时中断的功能,但是我们以可以avr开发库本身的特性来使用Arduino没有提供的功能. 代码如下, 设置一个1ms的中断, 每隔1s输出一个$符号: #include #include /* * 将定时器中断设为1ms */ void init_time() { TCCR2A |= (转载 2011-12-01 14:30:01 · 2653 阅读 · 1 评论