huangrui 发表于 2014-8-1 09:39:27

有用AVRSTUDIO6的吗?这是BUG还是我电脑的问题?

本帖最后由 huangrui 于 2014-8-1 09:55 编辑

今天把M32的程序改到M16上,编译出现错误
'DDRA4' undeclared (first use in this function)       
打开
IOM16A.H 怎么是 DDA4 呢???应该是DDRA4吧?

#define DDRA _SFR_IO8(0x1A)
#define DDA0 0
#define DDA1 1
#define DDA2 2
#define DDA3 3
#define DDA4 4
#define DDA5 5
#define DDA6 6
#define DDA7 7

版本号:
Atmel Studio 6 (Version: 6.1.2730 - Service Pack 2)
© 2013 Atmel Corp.
All rights reserved.
页: [1]
查看完整版本: 有用AVRSTUDIO6的吗?这是BUG还是我电脑的问题?