求助各位大神

[复制链接]
 楼主| 3月的尾巴 发表于 2019-11-17 11:42 | 显示全部楼层 |阅读模式
pi, IO, gp, GPIO, LED
main.c(8): warning:  #223-D: function "LED_GPIO_Config" declared implicitly
        LED_GPIO_Config( );
main.c(11): warning:  #223-D: function "LED1" declared implicitly
                LED1(on);
main.c(11): error:  #20: identifier "on" is undefined
                LED1(on);
main.c(13): error:  #20: identifier "off" is undefined
                LED1(off);
main.c(15): warning:  #223-D: function "LED2" declared implicitly
                LED2(on);
main.c(19): warning:  #223-D: function "LED3" declared implicitly
                LED3(on);
main.c: 4 warnings, 2 errors
compiling led.c...
led.c(17): error:  #20: identifier "GPIO_Pin3" is undefined
        GPIO_SetBits (GPIOC,GPIO_Pin3 | GPIO_Pin4 |GPIO_Pin5);
led.c(17): error:  #20: identifier "GPIO_Pin4" is undefined
        GPIO_SetBits (GPIOC,GPIO_Pin3 | GPIO_Pin4 |GPIO_Pin5);
led.c(17): error:  #20: identifier "GPIO_Pin5" is undefined
        GPIO_SetBits (GPIOC,GPIO_Pin3 | GPIO_Pin4 |GPIO_Pin5);
led.c: 0 warnings, 3 errors

在编译的时候出现这样的问题,由于本人是新手,实在看不出来问题在哪里?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

433

主题

433

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部