新手上路
- 积分
- 38
- 金钱
- 38
- 注册时间
- 2018-12-8
- 在线时间
- 6 小时
|
int main(void)
{
void IO_Port_config();
while(1)
{
if (GPIO_ReadInputDataBit(GPIOG, PGin(0))==0)
{
while(GPIO_ReadInputDataBit(GPIOG,PGin(0))==0);
return PBout(9)=0;
}
}
}
出现以下错误:
..\User\main.c(20): warning: #223-D: function "BIT_ADDR" declared implicitly
..\User\main.c(20): warning: #174-D: expression has no effect
..\User\main.c(21): error: #18: expected a ")"
..\User\main.c(66): warning: #1-D: last line of file ends without a newline
..\User\main.c(66): warning: At end of source: #12-D: parsing restarts here after previous syntax error
..\User\main.c(66): error: At end of source: #29: expected an expression
..\User\main.c(66): error: At end of source: #65: expected a ";"
..\User\main.c(66): error: At end of source: #67: expected a "}"
..\User\main.c(66): error: At end of source: #67: expected a "}"
|
|