zephyr/samples/basic/button/src
Jordan Yates be2e6a0850 samples: button: use `gpio_dt_spec` helpers
Convert pin setting and getting to `struct gpio_dt_spec` variants to
demonstrate usage of the new API.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2021-06-24 06:40:00 -05:00
..
main.c samples: button: use `gpio_dt_spec` helpers 2021-06-24 06:40:00 -05:00