Jump to content

Midi led´s on the dout?


Stigmata

Recommended Posts

Hi there!

Can´t really figured it out...

where on the DOUT is the midi led??

#define DEFAULT_MIDI_MONITOR_ENABLED 1  ; if 1, the Tx/Rx LEDs are enabled
#define DEFAULT_MIDI_RX_LED 0x41      ; DOUT SR#8, pin D0
#define DEFAULT_MIDI_TX_LED 0x42      ; DOUT SR#8, pin D1

Been looking at the http://www.ucapps.de/midibox_sid_cs/mbsid_dout_default.pdf.

Thank´s

Christoffer

Link to comment
Share on other sites

Could somebody please write a beginners tutorial which answers such basic questions about the various options which can mostly be found in main.asm - because it's really too much effort for myself to write not only the program code, but also to describe the behaviour of such minor features again and again (which mostly consumes more time than the programming!)

Sorry Christoffer, hope that you don't feel offenced, I don't want to left your question unanswered, but I also want to let you know that you could try to find out the purpose of those funny numbers at the end of the #define statements by yourself. And then you could think about the reason, why such minor features cannot be found in a schematic which describes the basic requirements for a control surface.

Best Regards, Thorsten.

Link to comment
Share on other sites

Ok...

Hmmmmm..

The midi led´s are on the Core....J5 ;)

BUT...

I got a little confused about the dout_table.

CS_MENU_DOUT_TABLE
      ;;            Register and bit                  SR#      Pin#        Description
      DOUT_ENTRY      CS_MENU_SELECTED_SID_FLAGS, 0,            1,      0      ; SID1 LED
      DOUT_ENTRY      CS_MENU_SELECTED_SID_FLAGS, 1,            1,      1      ; SID2 LED
      DOUT_ENTRY      CS_MENU_SELECTED_SID_FLAGS, 2,            1,      2      ; SID3 LED
      DOUT_ENTRY      CS_MENU_SELECTED_SID_FLAGS, 3,            1,      3      ; SID4 LED

      DOUT_ENTRY      CS_MENU_MODE, CS_MENU_MODE_LINK,      1,      4      ; Link LED
      DOUT_ENTRY      CS_MENU_MODE, CS_MENU_MODE_CC,            1,      5      ; CC LED
      DOUT_ENTRY      CS_MENU_MODE, CS_MENU_MODE_EDIT_FLASHED,1,      6      ; Edit LED
Pin = 0 for the D0 input pin of the shift register
;     Pin = 1 for the D1 input pin of the shift register
;     ...
;     Pin = 7 for the last input pin (D7) of the shift register

But it´s looked for me that´s turned around... ???

when I looked at the mbsid_dout_default.pdf the sid1 led is on the D7 and the sid2 is on the D6......and the last edit is on the D1..Strange for me... ;)

But.... It´s works, that´s the most important thing for me..... ;D ;D

Just curious........

Best

Christoffer

Link to comment
Share on other sites

  • 2 weeks 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...
×
×
  • Create New...