siemens / meta-iot2050

SIMATIC IOT2050 Isar/Debian Board Support Package
MIT License
130 stars 77 forks source link

Accessing user button #271

Closed sivakatru closed 2 years ago

sivakatru commented 2 years ago

What is the GPIO number for User button for v1.2.1?

Tried with all GPIO pins and none seems to work!

jan-kiszka commented 2 years ago

gpiomon $(gpiofind USER-button). Do not rely on numbering under /sys/class/gpio, though are conceptually unstable.

sivakatru commented 2 years ago

Thanks @jan-kiszka for the quick reply. That works!