打印
[PIC®/AVR®/dsPIC®产品]

PIC16F877A创建数组失败,求解!!!

[复制链接]
793|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
898109004|  楼主 | 2017-3-9 16:14 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在创建数组 uchar ad[200] ;时出现编译失败!!
下面是编译消息。求解

Error   [1250] double.c; 55. could not find space (200 bytes) for variable _ad
Error   [1250] double.c; 55. could not find space (200 bytes) for variable _ad
Error   [1250] C:\Users\Administrator\Desktop\2017-3-7wan\yeya_gai\yeya.c; 213. could not find space (200 bytes) for variable _ad
Error   [1250] C:\Users\Administrator\Desktop\2017-3-7wan\yeya_gai\yeya.c; 213. could not find space (200 bytes) for variable _ad
Error   [1250] C:\Users\Administrator\Desktop\2017-3-7wan\yeya_gai\yeya.c; 231. could not find space (200 bytes) for variable _ad
Error   [1250] C:\Users\Administrator\Desktop\2017-3-7wan\yeya_gai\yeya.c; 231. could not find space (200 bytes) for variable _ad
沙发
鹤影碎月| | 2017-3-16 15:58 | 只看该作者
占用字节数超过其内存空间

使用特权

评论回复
板凳
shenzhenherry| | 2017-5-24 15:12 | 只看该作者
PIC16F877A 的内部空间并不富裕啊
你创建这么大的数组,可能是不行

换个型号试试

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

1

帖子

0

粉丝