This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem using multiple GPIOTE users

I tried changing the define below from 1 to 2, so I could have one handler for a button and a different handler for other sensors. But my problem is:

  1. If I set it to 1, the button handler (which is initialized first) is the only that works.
  2. If I set it to 2, the sensors handler is the only one that works (it's initialized second, as if it took over the spot from the other).

#define APP_GPIOTE_MAX_USERS 2 /**< Maximum number of users of the GPIOTE handler. */

Related