Explorer Hat Pro touch.is_held


Hi I have the Explorer Hat Pro, I have used many of the examples and created some re-usable code for button pressing. I am now trying to use explorerhat.touch.is_held but I am failing to use it at all. Could someone provide me an example please?


IIRC is_held is just a simple value- True or False that denotes if the button is currently held down. You may use it in a polling loop, or perhaps in the handler of another button.