Newbie Question - I want to just change the off brightness of LED's on buttons to a bit brighter | Intech Studio
💬 general Grid

Newbie Question - I want to just change the off brightness of LED's on buttons to a bit brighter

Robbie
Robbie · · 10 replies

Sorry if this is has been answered. I have managed to set up my VSN1 & EF44 as I ened them except for bering able to work out how to make the off state of the LEDS brighter so I can see the colours on the buttons. I am on mac if someone can help I woukd be so grateful

Replies (10)

narayb narayb ·

By default, all LEDs reach full brightness when their corresponding element is at its maximum value.

For a button this would be when the button is pressed. On the software side this is the max you can reach in terms of brightness. Of course, some colors are brighter than others, but generally this is the maximum.

However our default button caps do lower the brightness of the LEDs quite a lot, so if you're looking for a bright solution, looking into different types of caps might be the thing you're looking for.

For example our Smoky Quartz caps allow the LEDs to be more visible in all states of the button. You can find these on the Intech store.

Robbie Robbie ·

Thanks for the answer but I am actually just wanting to be able to see the LEDS lit a bit brighter when I haven’t pressed the button in their idle state as the colours I have chosen indicate to me what function the button is being used for

Robbie Robbie ·

Thanks for the answer but I am actually just wanting to be able to see the LEDS lit a bit brighter when I haven’t pressed the button in their idle state as the colours I have chosen indicate to me what function the button is being used for

narayb narayb ·

Oh, I see!

That should be easy to do as well in software if you don't really need the dynamic lighting. Something like this should do the trick:

constant_led_max_brightness.gif
narayb narayb ·

This makes it so that the LED color/brightness is constant, so that the LED is always fully lit.

Robbie Robbie ·

Thanks so much I hadn't clcoked you coukld do that with the +, IS there anyway to have the LEDS at for example 50% brigghtness all the time and then full brightness when actaully pressed?

0xdb 0xdb ·

Are you looking for a temp (only lights up while pressed), or toggle/multi-step? If it's a temp, I think it should be as easy as using a push-release block. On push, you do led_value(num, 1, 255) and on release led_value(num, 1, 127). You'll need a local var above the push-release block num=self:element_index().

0xdb 0xdb ·

You prolly also want to add led_value(self:element_index(), 1, 127) in the setup section to init them with the right intensity

narayb narayb ·

I would do that like this tbh.

led_config_50_to_max.gif
narayb narayb ·

Reducing the alpha of the left LED state makes it so that when the button is in its released position, the LED will be at about mid brightness and when pressed will it just light up at max. You can play with the alpha slider to achieve the brightness you want at idle.

Discord

View on Discord

This post is from the Intech Studio Discord community.

Open thread →