Qwiic button button.hasBeenClicked()

The qwiic button hasBeenClicked() function continuously returns a 1 with no switch action. It never shuts off. The isPressed() function works fine. Using this on a Teensy 4.1 Arduino project. I’m using some C code with isPressed() looking for the transition and that’s working fine as a work around. None of the examples use hasBeenClicked() so I’m wondering if this ever worked. Is there some unobvious way this is to be used?

Try the final example, example 8. I think that example should shed some light on the functions.

https://github.com/sparkfun/SparkFun_Qw … errupt.ino

I hope this helps.