AnsweredAssumed Answered

HAL_GPIO_EXTI_Callback, falling and rising

Question asked by Denis Gottardello on Feb 9, 2017
Latest reply on Feb 18, 2017 by KIC8462852 EPIC204278916

Hi. I'm using the HAL_GPIO_EXTI_Callback function to have an event when a pin is falling or is rising.
To know if a pin is low or high I use this function
} else {


but the functions seems to not work prerfectly. Sometimes the function returns a wrong value.
Is there another way to do that?


Many thanks.