Jump to content

Recommended Posts

Posted

Hi

I'm searching a way for expand the original sm_fast.asm that is 8x8 matrix to a 8x16 or 16x16 (obviously adding din and dout module)

anyone can help me to modify it?

Thanks in advance. :smile:

bye

Posted

Yes

thank for reply

I already know qbas 32x32 but that application is wrote totally in asm, but sm_c_example2_v1c, in my opinion is more powerful and let me do modification in easier way.

That's because only the matrix driver ( sm_fast.asm ) is wrote in asm and the main program ( main.c )is in C.

In this way, when I have the sm_fast.asm expandend ( because I need more that 64 switches )for example from 8x8 to 16x16, changing code in main.c for example:

ORIGINAL CODE


  MIOS_MIDI_TxBufferPut(0x90);

  MIOS_MIDI_TxBufferPut(pin);

  MIOS_MIDI_TxBufferPut(value ? 0x00 : 0x7f);

As result I can simply change the midi messages putting the one I want.

32x32 is not so easy, there's velocity and other things very difficult!

bye

Andrea

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...