You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unit8_tbtn1_id=0;
structButtonbtn1;
uint8_tread_button_GPIO(uint8_tbutton_id)
{
// you can share the GPIO read function with multiple Buttonsswitch(button_id)
{
casebtn1_id:
returnHAL_GPIO_ReadPin(B1_GPIO_Port, B1_Pin);
default:
return0;
}
}
哈?
The text was updated successfully, but these errors were encountered:
哈?
The text was updated successfully, but these errors were encountered: