Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ultimate ipac led json #93

Open
mattjonesc opened this issue May 25, 2023 · 3 comments
Open

Ultimate ipac led json #93

mattjonesc opened this issue May 25, 2023 · 3 comments

Comments

@mattjonesc
Copy link

Hi,
more of a question than an issue:
Are there any other parameters that I can pass to the ipacultimate_led.json to control the Leds using umtool? I was able to get this working using the sample script but would like to configure all buttons and specify the rgb color values.

Thanks!

@katie-snow
Copy link
Owner

Do you want to configure actions and leds? The ipacultimate_pins.json has the format for configuring both at the same time.

You will have to expand the "intensity" array with entries for each pin number.

@mattjonesc
Copy link
Author

Thank you katie. I’m just trying to configure the colors for each led… for example, button1 connected to led row 1-3 on the board I want to make blue, is there a parameter that I can configure to make R,G,B values = 0,0,16?

@mattjonesc
Copy link
Author

Hi Katie,

Apologies for my ignorance. I was able to figure this out. The led parameter corresponds to the led pin and the intensity is the individual RGB value for each pin. One thing that I got stuck on was that the led parameter is zero-indexed while the physical board itself (what is printed on it) is not. Therefore, to set my button connected to the first led row on the board (labeled 1 - 3), I need to specify the led intensities for 0, 1, 2.

As a follow on question, can you explain what the "LED states random" and "fade rate" parameters control and what values can be passed to each?

Thank you again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants