[AVR单片机] avr 定义flash 问题

[复制链接]
1815|2
 楼主| 开发小妞 发表于 2013-1-10 11:28 | 显示全部楼层 |阅读模式


定义 flash char str[]="welcome";
#include "string.h"
void test()
{
    char l;
   l= strlen((unsigned char*)str);
}
l为什么==0?
yklstudent 发表于 2013-1-10 18:11 | 显示全部楼层
I = strlen(str);
ccxlslr 发表于 2013-1-11 12:29 | 显示全部楼层
你要说什么译器
您需要登录后才可以回帖 登录 | 注册

本版积分规则

2

主题

3

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部