Most of the time this is triggered fine, but sometimes for one turn of the encoder I get 2 triggers, I am trying to figure out how I should best debounce this, whether in the qdec configuration
Here is the code I am using to test out the qdec.
static void data_ready_handler(const struct device *dev, const struct sensor_trigger *trig)