打印

求助各位大神

[复制链接]
201|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
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

粉丝