Jump to content

Recommended Posts

Posted

Maybe this is a stupid question,  but..

can i connect 32 buttons on 1 DIN and 32 leds on 1 DOUT.

When i search the forums i come across posts where they speak of the first 4 buttons being for controlling the menu.

Is this just for the midibox64 implementation?

Can i use the full 32 buttons and 32 leds if i programm my application myself?

Greetings,

Ramon

Posted

Hi Ramon,

Can i use the full 32 buttons and 32 leds if i programm my application myself?

Yes. MIOS (the operatings system, not an application) does not care what the buttons and LEDs are intended to be used for. If you write your own application you can assign the buttons any function you want. If the buttons are going to send MIDI events when activated perhaps an existing application such as the 64 or 128 boxes will already do what you want.

If you look at the MIOS_DIN.INC code you will see that the USER_DIN_NotifyToggle function is called when a button state changes. This would be a routine in your application that can take any action you wish when it is called. Similarly, your application can call the MIOS_DOUT_PinSet function to control the state of any of the LEDs connected to the DOUT module.

Hope this helps you.  :)

Regards,

Synapsys

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...