launchpad.py icon indicating copy to clipboard operation
launchpad.py copied to clipboard

The top row of buttons won't light up.

Open berryempire opened this issue 4 years ago • 6 comments

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!

berryempire avatar Sep 11 '21 08:09 berryempire

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.

FMMT666 avatar Sep 12 '21 23:09 FMMT666

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!

berryempire avatar Sep 17 '21 18:09 berryempire

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

FMMT666 avatar Sep 18 '21 16:09 FMMT666

Thanks!

tomveich avatar Sep 18 '21 19:09 tomveich

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.

FMMT666 avatar Sep 20 '21 22:09 FMMT666

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!

tomveich avatar Sep 23 '21 14:09 tomveich