Unable to capture a push button

Hi Everyone,

I’m trying to capture a button push. But i can’t achieve it using Python (mraa) and JS script (onoff).

(I’have no problem flashing a LED).

When I go to the /sys/class/gpio/gpioX, file “edge” is missing. It’s not the case in a raspberry for example.

Anyone has an idea of what I’m missing?

thank you for your help

1 Like