Midi led´s on the dout?

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

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.

No offence here!  ;)

I will try to found out my self…

Best

Christoffer

Ok…

Hmmmmm..

The midi led´s are on the Core…J5 :wink:

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… :wink:

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

Just curious…

Best

Christoffer

Try this again..  ;)

Anyone got an answer??

Best

Christoffer

It should be clear that this is a copy&paste error in the comments, no? Because it explains the pin mapping of the input pins, and not of the output pins… I will fix the comment (sooner or later…)

Best Regards, Thorsten.