#include <pic.h>
#include "PIC12F683.h"
#define AAA GP0
#define BBB GP1
#define CCC GP2
#define DDD GP3
#define EEE GP4
void main(void)
{
TRISIO=0x03;
GPIO=0x00;
}
程序太长了,我将主要的地方贴出来,请教各位为什么编译的时候会提示:
Error[192] D:\PICYELF\picyelf.c 55 : undefined identifier "GP3"
Error[192] D:\PICYELF\picyelf.c 77 : undefined identifier "GP0"
Error[192] D:\PICYELF\picyelf.c 77 : undefined identifier "GP1"
Error[192] D:\PICYELF\picyelf.c 92 : undefined identifier "GP4"
|