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
however, am_hal_gpio_pinconfig refers to the PAD number, NOT the PIN number (which INPUT_BUTTON is defined using the PIN number). Due to this, a random pin is being kept enabled, rather than the expected pin we've defined. To address this, we simply must change the function to:
Currently, to disable all pins except for the current pin were using for the interrupt the command is:
however,
am_hal_gpio_pinconfig
refers to the PAD number, NOT the PIN number (which INPUT_BUTTON is defined using the PIN number). Due to this, a random pin is being kept enabled, rather than the expected pin we've defined. To address this, we simply must change the function to:Here is the link to the code example
The text was updated successfully, but these errors were encountered: