Jump to content

[SOLVED]MB64 LED's problem


eptheca
 Share

Recommended Posts

I have built a MB64 to control a synth.

I have a problem with the LED's

This is what I am trying to achieve:
The top 8 buttons are onOnly buttons, and the LED for each button light up when it is pressed, when another of the 8 buttons is pressed, the LED for that buttons lights up, and the other LED turns off.
The 3 bottom left buttons are toggle buttons, the LED for that button lights up when it is pressed, and turns off when it is pressed again
The 4 bottom right buttons are onOnly buttons, and the LED for each button light up when it is pressed, when another of these 4 buttons is pressed, the LED for that buttons lights up, and the other LED turns off.

What happens now is that the 3 groups of buttons/LED's affect each other
You can see the problem in this video YouTube Video

I would really appreciate some help with this

Edited by eptheca
Link to comment
Share on other sites

Hi,

The top 8 buttons are onOnly buttons, and the LED for each button light up when it is pressed, when another of the 8 buttons is pressed, the LED for that buttons lights up, and the other LED turns off.

I'm already surprised that you were able to achieve this - there are no "control groups", the so called "radio button" function isn't supported by the MB64 firmware. It just doesn't support your usecase.

You would have to program this into an own (e.g. C based) MIOS application.

This isn't so difficult, there are various postings about this topic in the programming section.

Best Regards, Thorsten.

Link to comment
Share on other sites

Hi Thorsten,

I changed this code in the mb64_buttons.inc file:


;; (button value stored in TMP1)

MB64_BUTTON_OnOnly 

        ;; when on: send button value defined in dump 

        ;; when off: send nothing 

        BRA_IFSET TMP1, 0, ACCESS, MB64_BUTTON_NotifyChangeEnd 

        ;; turn off SR1 8 LEDs 

    SET_BSR MB64_BUTTON_VALUES_SR0+0  

    setf MB64_BUTTON_VALUES_SR0+0

    SET_BSR MB64_BUTTON_VALUES_SR0+1  

    setf MB64_BUTTON_VALUES_SR0+1 

        ;; save status of button 

        rcall   MB64_BUTTON_Hlp_SaveStat 

        rgoto   MB64_BUTTON_Send

I found a post on the forum that suggested this

Since I have no clue about programming, I don't understand what it does really, I just edited the code in the file.

If I have to program a new MIOS application in C, I think I will have to let it go

It looks like Lemonhorse's MB AY/YM V2 has button/LED handling like I am after, but I guess that is a separate MIOS application as well

Thanks for the direction

Best regards

Halvor

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...