# Independant neopixel LED accent

**URL:** <https://crucible.hubbe.net/t/independant-neopixel-led-accent/3172>\
**Category:** Proffieboards\
**Created:** [April 1, 2023, 5:49pm UTC](https://crucible.hubbe.net/t/independant-neopixel-led-accent/3172 "2023-04-01T17:49:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![srochette67](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/srochette67/32/2796_2.png) [@srochette67](https://crucible.hubbe.net/u/srochette67)\
**Post date:** [April 1, 2023, 5:49pm UTC](https://crucible.hubbe.net/t/independant-neopixel-led-accent/3172/1 "2023-04-01T17:49:08Z")

</div>

Hi! My questions are very naive, I know, but how do I get a neopixel accent LED to light up as soon as the main power is “on”, before turning on the blade, and that neopixel accent LED stay on even when the blade turns off.

I would also like that, even if this neopixel accent LED stays on, it doesn’t prevent the main power from turning “off” automatically after 5 or 10 minutes, to save battery…

And how to code all this on the “config.h” file?

Thank you in advance for your guiding lights

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [April 1, 2023, 6:23pm UTC](https://crucible.hubbe.net/t/independant-neopixel-led-accent/3172/2 "2023-04-01T18:23:59Z")

</div>

For the first question; you just set the style of the LED to something simple, like:

```auto
StylePtr<Red>(),

```

This would make the LED Red at all times, unconditionally.

For the second question, you want to set IDLE\_OFF\_TIME in your config file:

> **[The CONFIG\_TOP section](https://pod.hubbe.net/config/the-config_top-section.html#idleofftime)**
>
> Documentation for ProffieOS
