Robofun 機器人論壇

 找回密碼
 申請會員
搜索
熱搜: 活動 交友 discuz
查看: 9037|回復: 11
打印 上一主題 下一主題

arduino接紅外線接收器

[複製鏈接]
1#
發表於 2011-10-8 22:53:43 | 顯示全部樓層
請問各位前輩, 我依照coopermaa大在 http://coopermaa2nd.blogspot.com/2011/03/11.html
的做法上傳程式後出現
IRsend::sendSharp(long unsigned int, int)':
D:\PizG\Arduino\arduino-1.0-rc1\libraries\IRremote\IRremote.cpp:689: error: 'delay' was not declared in this scope
請問要如何解決?
2#
發表於 2011-10-16 19:57:30 | 顯示全部樓層
本帖最後由 pizg 於 2011-10-16 20:16 編輯

非常感謝coopermaa 大大, 您真是熱心.
我的確是使用 arduino ide 1.0rc 版,
依照您的說明改成Arduino.h後, 又出現新的問題,
如下所示, 請問該如何解決?

'uint8_t' does not name a type
struct irparams_t' has no member named 'rawlen'
D:\PizG\Arduino\arduino-1.0-rc1\libraries\IRremote\IRremote.cpp:529: error: 'volatile struct irparams_t' has no member named 'rawlen'
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

小黑屋|手機版|Archiver|機器人論壇 from 2005.07

GMT+8, 2024-6-11 13:11 , Processed in 0.297732 second(s), 8 queries , Apc On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表