极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: L.anrist

关于无线传输模块NRF24L01的小小研究

  [复制链接]
 楼主| 发表于 2012-7-22 22:25:04 | 显示全部楼层
我曾经用09版和UNO连接  成功通信
但是使用mega2560和uno通信似乎一直有问题  说不准就是因为这个  要研究一下的  
回复 支持 反对

使用道具 举报

发表于 2012-9-21 11:07:03 | 显示全部楼层
好材料啊,感谢分享~~~
回复 支持 反对

使用道具 举报

发表于 2013-1-1 15:45:15 | 显示全部楼层
好东西 得顶一下 ,想把24L01做个遥控
回复 支持 反对

使用道具 举报

发表于 2013-1-19 10:39:40 | 显示全部楼层
RF24 & RF24Network class

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2013-3-22 16:18:44 | 显示全部楼层
楼主真心厉害!赞一个!
回复 支持 反对

使用道具 举报

发表于 2013-3-27 16:38:26 | 显示全部楼层
还是不会用,急死我了1111111111111111111111
回复 支持 反对

使用道具 举报

发表于 2013-3-27 20:33:54 | 显示全部楼层
还在努力中
回复 支持 反对

使用道具 举报

发表于 2013-3-28 10:51:19 | 显示全部楼层
ping_server.cpp:17:18: error: Mirf.h: No such file or directory
ping_server.cpp:18:22: error: nRF24L01.h: No such file or directory
ping_server.cpp:19:35: error: MirfHardwareSpiDriver.h: No such file or directory
ping_server.cpp: In function 'void setup()':
ping_server:27: error: 'Mirf' was not declared in this scope
ping_server:27: error: 'MirfHardwareSpi' was not declared in this scope
ping_server.cpp: In function 'void loop()':
ping_server:64: error: 'Mirf' was not declared in this scope
ping_server:80: error: 'data' was not declared in this scope
出现这个问题??
回复 支持 反对

使用道具 举报

发表于 2013-3-28 10:51:35 | 显示全部楼层
  Mirf.spi = &MirfHardwareSpi;这句有问题吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-4-3 15:50:29 | 显示全部楼层
天天向上/tp 发表于 2013-3-28 10:51
Mirf.spi = &MirfHardwareSpi;这句有问题吗?

没有问题 如果无法编译  很有可能是因为arduino IDE 的版本原因 这个是用的旧的库 你要用0023之前的IDE
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-4-3 15:51:07 | 显示全部楼层
天天向上/tp 发表于 2013-3-27 16:38
还是不会用,急死我了1111111111111111111111

具体的问题是在哪里出现的?
回复 支持 反对

使用道具 举报

发表于 2013-4-16 00:19:29 | 显示全部楼层
保存一下!
回复 支持 反对

使用道具 举报

发表于 2013-5-3 11:55:48 | 显示全部楼层
为什么什么都没发送,接收端一直显示000000...
回复 支持 反对

使用道具 举报

发表于 2013-6-27 21:08:23 | 显示全部楼层
In file included from sketch_jun27b.cpp:2:
E:\arduino-0023\arduino-0023\libraries\Mirf/Mirf.h:32:22: error: nRF24L01.h: No such file or directory
E:\arduino-0023\arduino-0023\libraries\Mirf/Mirf.h:33:27: error: MirfSpiDriver.h: No such file or directory
sketch_jun27b.cpp:4:35: error: MirfHardwareSpiDriver.h: No such file or directory
In file included from sketch_jun27b.cpp:2:
E:\arduino-0023\arduino-0023\libraries\Mirf/Mirf.h:105: error: ISO C++ forbids declaration of 'MirfSpiDriver' with no type
E:\arduino-0023\arduino-0023\libraries\Mirf/Mirf.h:105: error: expected ';' before '*' token
sketch_jun27b.cpp: In function 'void setup()':
sketch_jun27b:10: error: 'class Nrf24l' has no member named 'spi'
sketch_jun27b:10: error: 'MirfHardwareSpi' was not declared in this scope

怎么解决这些错误,新手求教。。。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-7-2 21:36:01 | 显示全部楼层
tonycorn 发表于 2013-6-27 21:08
In file included from sketch_jun27b.cpp:2:
E:\arduino-0023\arduino-0023\libraries\Mirf/Mirf.h:32:22 ...

怀疑你的库文件没有放置好
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 需要先绑定手机号

Archiver|联系我们|极客工坊

GMT+8, 2024-4-26 12:04 , Processed in 0.042753 second(s), 24 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表