Jump to content

adding 1 din and 1 dout to sm_c_example2_v1c


dexter2010
 Share

Recommended Posts

Hi to all the forum

I'm here after 3 years of stop! I'm very happy about the news on midibox ( stm32 and so on ) keep the community increase!

DIY passion bring me another time!

After all this years I'm considering build a midi controller for an old keyboard I get from a friend of mine.

Keyboard is from an old Italian manufacturer called CRB, it is not working but I'm considering to transform it to a midi controller.

This is my first and only problem.

All keybed are arranged in matrix 8x8 and I find that the application sm_C_example2_v1c work perfectly for me! ( I don't need velocity or so on...)just for one keyboard.

I have only one pic core but a lot of din dout shift registers, so I wonder if is it possible to increase the application for manage 2 keyboards: in fact 8x8 uses only one din and one dout and I have available 4din and 4dout ( 2 complete din and dout module!).

I already look at 32x32 code and so on but they are coded with old toolchain and all in ASM, on the other hand sm_c_example2_v1c is easy because the code in ASM only manage the matrix driver and the main.c manage midimessages is in C and so I can reuse the main.c for adding pots or for adding other buttons for sending ( for example ) CC instead of note ON OFF messages.

Adding one 74hc165 and one 74hc595 can change matrix from 8x8 to 16x16 but this involved changing the ASM code: how can I do it using the same app?

Any help will be appreciated!

bye!

Andrea

Link to comment
Share on other sites

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