User buttons?

Hi, I’m using the Wio LTE Cat NB1 board.
Here it says there 2 buttons for the user
http://wiki.seeedstudio.com/Wio_LTE_Cat_M1_NB-IoT_Tracker/#hardware-features

How do I use them? I tried the extern interrupt example (pinMode(38,
INPUT); attachInterrupt(38, isr, RISING):wink: but after pressing all 3 buttons
in different order (because one resets) it doesn’t appear any are connected
to digital 38

Hi there~,


The 3 Buttons are MCU Reset Button, MCU Boot (DFU) Button,EC21 Power Button. You can not define it by yourself.

There is interrupt Grove port, D38. You can connect Grove button to that port.

https://www.seeedstudio.com/Grove-Button-p-766.html

Here is the code.

https://github.com/Seeed-Studio/WioLTE_Cat_NB1_Arduino_Library/blob/master/examples/ExternInterrupt/ExternInterrupt.ino

Thanks

best rgds
Bill