Event based Grove button v1.2 in grove pi+

Hi All,



I dont find any example on internet for grove button based on the event. when the button is pressed event has to trigger and i need to do action and what I dont want is to run a loop to read the button value. is there anyway to achieve this?



thanks in advance





Regards,

Babu

Hi Babu~



Do you mean the falling/rising edge trigger function? I checked the dexter python library that it does not include the edge trigger function. You can post a question to https://forum.dexterindustries.com/c/grovepi, dexter team will reply the issue directly. thanks.

Thanks Bill. let me check with them!