摘要:
程序如下#define tBoolean int#define GPIO_PORTA_BASE g_pulGPIOBaseAddrs[0]#include "lib/gpio.h"//#include "lib/inc/lm4f120h5qr.h"#include "lib/sysctl.h"int main(){SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA);GPIOPinTypeGPIOInput(GPIO_PORTA_BASE,GPIO_PIN_0);while(1){}}编译总是提示:m 阅读全文