# 'Default LED mode' 255?

**URL:** <https://community.keyboard.io/t/default-led-mode-255/6113>\
**Category:** Uncategorized\
**Created:** [December 30, 2022, 6:06pm UTC](https://community.keyboard.io/t/default-led-mode-255/6113 "2022-12-30T18:06:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keybug](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/keybug/32/4597_2.png) [@Keybug](https://community.keyboard.io/u/Keybug)\
**Post date:** [December 30, 2022, 6:06pm UTC](https://community.keyboard.io/t/default-led-mode-255/6113/1 "2022-12-30T18:06:53Z")

</div>

Would like to set my default LED mode on system startup. In Chrysalis 0.12.0 Preferences, there is a field for this that allows me to set numbers between 0 (or 1?) and 254/255. However, I haven’t a clue what number represents the mode I would like (simple monochrome, no effects), nor how to set the actual colour. Couldn’t find this documented anywhere either…

Any help much appreciated.

Thanks!

---

<div class="post-metadata">

**Author:** ![rpnfan](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@rpnfan](https://community.keyboard.io/u/rpnfan)\
**Post date:** [December 30, 2022, 10:12pm UTC](https://community.keyboard.io/t/default-led-mode-255/6113/2 "2022-12-30T22:12:57Z")

</div>

That is true sadly. You can try out the modes by selecting and saving. Input 0 up to 15. 4 and following are monochrome.

---

<div class="post-metadata">

**Author:** ![Keybug](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/keybug/32/4597_2.png) [@Keybug](https://community.keyboard.io/u/Keybug)\
**Post date:** [December 31, 2022, 11:52am UTC](https://community.keyboard.io/t/default-led-mode-255/6113/3 "2022-12-31T11:52:03Z")

</div>

I will, thank you very much!

---

<div class="post-metadata">

**Author:** ![randomman](https://avatars.discourse-cdn.com/v4/letter/r/e79b87/32.png) [@randomman](https://community.keyboard.io/u/randomman)\
**Post date:** [January 3, 2023, 4:38pm UTC](https://community.keyboard.io/t/default-led-mode-255/6113/4 "2023-01-03T16:38:41Z")

</div>

I believe it is the order is the order of LED effects that are defined in KALEIDOSCOPE\_INIT\_PLUGINS in your sketch.

I think you can see the default for model 100 here

> <https://github.com/keyboardio/Kaleidoscope/blob/master/examples/Devices/Keyboardio/Model100/Model100.ino>

Hope that is helpful.

---

<div class="post-metadata">

**Author:** ![Keybug](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/keybug/32/4597_2.png) [@Keybug](https://community.keyboard.io/u/Keybug)\
**Post date:** [January 3, 2023, 5:36pm UTC](https://community.keyboard.io/t/default-led-mode-255/6113/5 "2023-01-03T17:36:33Z")

</div>

Thanks a lot!

So I assume the numbers are assigned as follows:

0: We start with the LED effect that turns off all the LEDs.  
LEDOff,

1: The rainbow effect changes the color of all of the keyboard’s keys at the same time  
// running through all the colors of the rainbow.  
LEDRainbowEffect,

2: The rainbow wave effect lights up your keyboard with all the colors of a rainbow  
// and slowly moves the rainbow across your keyboard  
LEDRainbowWaveEffect,

3: The chase effect follows the adventure of a blue pixel which chases a red pixel across  
// your keyboard. Spoiler: the blue pixel never catches the red pixel  
LEDChaseEffect,

// These static effects turn your keyboard’s LEDs a variety of colors  
4: solidRed,  
5: solidOrange,  
6: solidYellow,  
7: solidGreen,  
8: solidBlue,  
9: solidIndigo,  
10: solidViolet,

11: The breathe effect slowly pulses all of the LEDs on your keyboard  
LEDBreatheEffect,

12: The AlphaSquare effect prints each character you type, using your  
// keyboard’s LEDs as a display  
AlphaSquareEffect,

13: The stalker effect lights up the keys you’ve pressed recently  
StalkerEffect,

14: The LED Palette Theme plugin provides a shared palette for other plugins,  
// like Colormap below  
LEDPaletteTheme,

15: The Colormap effect makes it possible to set up per-layer colormaps  
ColormapEffect

---

<div class="post-metadata">

**Author:** ![randomman](https://avatars.discourse-cdn.com/v4/letter/r/e79b87/32.png) [@randomman](https://community.keyboard.io/u/randomman)\
**Post date:** [January 3, 2023, 8:25pm UTC](https://community.keyboard.io/t/default-led-mode-255/6113/6 "2023-01-03T20:25:07Z")

</div>

You can also check by just pressing the LED key on the keyboard and it will go in the same order.

I think the only thing wrong on your list is I don’t think LEDPaletteTheme is a LED effect. It’s used by others. So I think its just 0-14, but I could be wrong. I am not a developer of Kaleidoscope. Just have a little programming background and tried to figure out the answer to the same question about a month or two ago.

---

<div class="post-metadata">

**Author:** ![argonblue](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@argonblue](https://community.keyboard.io/u/argonblue)\
**Post date:** [January 3, 2023, 11:21pm UTC](https://community.keyboard.io/t/default-led-mode-255/6113/7 "2023-01-03T23:21:18Z")

</div>

Yeah, I think LEDPaletteTheme isn’t a mode of its own, just used as part of ColormapEffect, etc.

The reason for mode number 255 is that a freshly erased EEPROM has all bytes set to 255, and the firmware has some code to recognize that and choose a reasonable default effect (LEDOff in this case). Chrysalis won’t let you choose mode number 255, which seems abstractly reasonable, but can be confusing to interact with if you don’t know about these details.
