完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
如何用NRF24L01发送图片?看例程里用的是一个一维数组,一个一个发送。图片的话我改为二维数组,但是函数不对。是不是要改函数库呢?keil提示的错误
main.c(142): error: #167: argument of type "u8 (*)[16]" is incompatible with parameter of type "u8 *" main.c: if(NRF24L01_RxPacket(tmp_buf)==0)//一旦接收到信息,则显示出来. main.c: ^ main.c(144): warning: #175-D: subscript out of range main.c: tmp_buf[16][16]=0;//加入字符串结束符 main.c: ^ main.c(145): error: #167: argument of type "u8 (*)[16]" is incompatible with parameter of type "const u8 *" main.c: LCD_ShowString(0,190,tmp_buf); main.c: ^ main.c(162): error: #167: argument of type "u8 (*)[16]" is incompatible with parameter of type "u8 *" main.c: if(NRF24L01_TxPacket(tmp_buf)==TX_OK) main.c: ^ main.c(165): error: #167: argument of type "u8 (*)[16]" is incompatible with parameter of type "const u8 *" main.c: LCD_ShowString(0,190,tmp_buf); main.c: ^ main.c(188): error: #29: expected an expression main.c: { tmp_buf[x][y]={Pen_Point.X0,Pen_Point.Y0}; main.c: ^ main.c(195): warning: #175-D: subscript out of range main.c: tmp_buf[16][16]=0;//加入字符串结束符 main.c: ^ main.c: main.c: 2 warnings, 5 errors
|
|
相关推荐
4个回答
|
|
|
|
|
|
|
|
|
额...你加我的群吧.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
928 浏览 0 评论
如何使用STM32+nrf24l01架构把有线USB设备无线化?
3089 浏览 7 评论
请问能利用51单片机和nRF24L01模块实现实时语音无线传输吗?
2989 浏览 5 评论
3848 浏览 3 评论
3313 浏览 8 评论
请教各位大咖:有没有接收频率32M左右的芯片推荐的?先感谢啦!
1268浏览 1评论
1214浏览 0评论
885浏览 0评论
975浏览 0评论
928浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 23:46 , Processed in 0.920945 second(s), Total 79, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1216