Use a gpio_dt_spec, dropping device_get_binding. This in turn lets us write everything in a single main() without sacrificing readability since the LED is optional. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| blinky | ||
| blinky_pwm | ||
| button | ||
| fade_led | ||
| minimal | ||
| rgb_led | ||
| servo_motor | ||
| threads | ||
| basic.rst | ||