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;
}
}
}
出现以下错误:
..Usermain.c(20): warning: #223-D: function "BIT_ADDR" declared implicitly
..Usermain.c(20): warning: #174-D: expression has no effect
..Usermain.c(21): error: #18: expected a ")"
..Usermain.c(66): warning: #1-D: last line of file ends without a newline
..Usermain.c(66): warning: At end of source: #12-D: parsing restarts here after previous syntax error
..Usermain.c(66): error: At end of source: #29: expected an expression
..Usermain.c(66): error: At end of source: #65: expected a ";"
..Usermain.c(66): error: At end of source: #67: expected a "}"
..Usermain.c(66): error: At end of source: #67: expected a "}"
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
我要一直判断PG端口0脚是否一直处于电平0状态
一周热门 更多>