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

The top row of buttons won't light up. #71

Open
berryempire opened this issue Sep 11, 2021 · 6 comments
Open

The top row of buttons won't light up. #71

berryempire opened this issue Sep 11, 2021 · 6 comments

Comments

@berryempire
Copy link

Hello,
I noticed that the top row of buttons on the Launchpad Mini simply won't light up.
(I mean the round buttons marked with numbers 1, 2, 3, 4, 5, 6, 7, 8). The A, B, C, D, E, F, G, H column works fine.

Thanks!

@FMMT666
Copy link
Owner

FMMT666 commented Sep 12, 2021

Do you mean the Mk1 Mini, the red/green one?
This could be caused by a lot of things.

Could you please share some code?
Does it work with LedCtrlAutomap( number, red, green )?

Also, there indeed was something wrong with the top row buttons, I changed
sth in 1/2021. Need to investigate though.

@berryempire
Copy link
Author

Hello,
It's an older launchpad mini with red/green (or red+green) lights.
I managed to light the top row up, it seems like the top row uses numbers 200 - 208 for some reason.
Following code will light up the entire launchpad red (except the top row that'll be orange)

for red in range(2):
	for pos in range(136):
		if pos > 127:
			lp.LedCtrlRaw(200+(pos-128), red + 1, 0 )
		else:
			lp.LedCtrlRaw( pos, red + 1, 0 )
		time.wait( 15 )

LedCtrlAutomap() will make the entire top row orange (it's always orange). But that's it. Seems like it can't light up other buttons.

Thanks!

@FMMT666
Copy link
Owner

FMMT666 commented Sep 18, 2021

Ok, thanks, will check this.
Stay tuned ...

@tomveich
Copy link

Thanks!

@FMMT666
Copy link
Owner

FMMT666 commented Sep 20, 2021

I don't see any problems here, everything is working fine.
The top row LEDs can be controlled like all the others.

Is it possible that you have an old version installed?
Sound exactly like the problems that were solved by pull request #64.

@tomveich
Copy link

I'm not sure how I installed launchpad.py but I think it's the latest version. Anyways, how can I update it to the latest version? (Ubuntu) Thanks!

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

3 participants