Using a gpio_dt_spec is the current best practice for getting at pins defined in the DT, because it gets all the boilerplate and flags right for you. Use that in blinky, keeping the documentation in sync with the code. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| main.c | ||