标题: [求助] [打印本页]

作者: 无心之恋    时间: 2010-7-1 09:06
标题: [求助]

Build target 'Target 1'
compiling lesson1.c...
LESSON1.C(2): error C202: 'p0': undefined identifier
LESSON1.C(5): error C202: 'd1': undefined identifier
Target not created

不知道是什么意思?


作者: brantyou    时间: 2010-7-1 11:35

未定义的变量,你看看你有没有定义这两个变量。你的p0应该是控制P0口吧!如果是的话,要注意大写。。。。


作者: 示波器    时间: 2010-7-14 10:32
变量未定义,很多程序中对变量名大小写是区分的,大写跟小写会被视为两个不同的变量




欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1