题目内容
HAL_GPIO_WritePin(GPIOB,GPIO_PIN_0,1);HAL_GPIO_WritePin(GPIOB,GPIO_PIN_1,0);if(HAL_GPIO_ReadPin(GPIOB,GPIO_PIN_4)==0){HAL_Delay(20);KeyValue=4;while(HAL_GPIO_ReadPin(GPIOB,GPIO_PIN_4)==0);HAL_Delay(20);}else if(HAL_GPIO_ReadPin(GPIOB,GPIO_PIN_5)==0){HAL_Delay(20);KeyValue=5;while(HAL_GPIO_ReadPin(GPIOB,GPIO_PIN_5)==0);HAL_Delay(20);}else if(HAL_GPIO_ReadPin(GPIOB,GPIO_PIN_6)==0){HAL_Delay(20);KeyValue=6;while(HAL_GPIO_ReadPin(GPIOB,GPIO_PIN_6)==0);HAL_Delay(20);}else if(HAL_GPIO_ReadPin(GPIOB,GPIO_PIN_7)==0){HAL_Delay(20);KeyValue=7;while(HAL_GPIO_ReadPin(GPIOB,GPIO_PIN_7)==0);HAL_Delay(20);}这是扫描第()行
查看答案
搜索结果不匹配?点我反馈
更多问题