I use “gpio_pin_set_dt” to switch LEDs. On the nRF9160-DK and the Thingy:91 that works as expected. On the feather it seems to be inverted. The device tree contains
leds {
compatible = "gpio-leds";
blue_led: led_0 {
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
label = "Blue LED (D7)";
};
};
is the GPIO_ACTIVE_LOW checked?
(If I replace GPIO_ACTIVE_LOW with 0 it works as expected with NCS-2.1.2.)