-
I'm developing against a Nordic BMD-360 module; for the moment, using the ublox BMD-300 evaluation board. I've come up with the following code to initialize a GPIO pin that I want to serve as the source of notifications (in this example, pin 16 which is connected to a button on the eval board):
The code compiles and runs fine; on my serial terminal that receives the uart_printf output, I see:
...which tells me no errors are returned by any of the What am I missing? What do I need to check to find out why the callback isn't being called? What other information do I need to provide? My Zephyr SDK version is 0.16.1. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You first need to configure the pin as an input. Do that first before setting the call back. |
Beta Was this translation helpful? Give feedback.
You first need to configure the pin as an input. Do that first before setting the call back.