我正在使用Visual Studio 2013为AVR编写代码.我一直在关注这个教程.
在编写代码的同时,我注意到Visual Studio继续强调像DDRB或者这样的东西,PORTB并且我继续得到错误Error: identifier "PORTB" is undefined,但是,程序正确编译.
DDRB
PORTB
Error: identifier "PORTB" is undefined
有趣的是,在按下alt- F12视觉发现它们被定义了许多文件.
intellisense avr winavr visual-studio-2013
avr ×1
intellisense ×1
visual-studio-2013 ×1
winavr ×1