I test C:\ncs\v2.5.2\zephyr\samples\basic\button sample on nRF52832 MDK. But gpio_pin_get_dt(&button) always return 0 when I press buttons on nRF52832 MDK.
Procedures to reproduce this issue are as follows.
1. Unzipping button.zip to C:\ncs\v2.5.2\zephyr\samples\basic folder.
2. cd C:\ncs\v2.5.2\zephyr\samples\basic\button
3. west build -b nrf52832_mdk
4. west flash
5. Rebooting nRF52832 MDK and connecting to RTT Viewer