Jump to content

What pins of SR 5,6,7 and 8 are free to use?


mattias
 Share

Recommended Posts

Anything wrong here to free SR 5 and 6 for extra leds? ???

; Max. length of the DIN/DOUT shift register chain (1-16)

#define DEFAULT_NUMBER_SR 16

;

; debounce counter (see the function description of MIOS_SRIO_DebounceSet)

; Use 0 for high-quality buttons, use higher values for low-quality buttons

#define DEFAULT_SRIO_DEBOUNCE_CTR 32

;

; For MIDI activity monitor: define the DOUT pins for the Rx and Tx LED

#define DEFAULT_MIDI_MONITOR_ENABLED 1  ; if 1, the Tx/Rx LEDs are enabled

#define DEFAULT_MIDI_RX_LED 0x0f ; DOUT SR#2, pin D0

#define DEFAULT_MIDI_TX_LED 0xff ; not used

;

; The beat indicator LED has to be assigned to a DOUT pin here:

#define DEFAULT_BEAT_INDICATOR_LED 0x07 ; DOUT SR#1, pin D0

;

; Some menus are provide the possibility to use 16 "general purpose" buttons

; Define the two shift registers which are assigned to this function here:

; (valid numbers: 1-16)

#define DEFAULT_GP_DIN_SR_L 7 ; first GP DIN shift register assigned to SR#7

#define DEFAULT_GP_DIN_SR_R 10 ; second GP DIN shift register assigned to SR#10

;

; above these buttons LEDs should be mounted to visualize the played MIDI events,

; but also the current sequencer position, the selected pattern, the menu, etc.

; Define the two shift registers which are assigned to this function here:

; (valid numbers: 1-16)

#define DEFAULT_GP_DOUT_SR_L 3 ; first GP DOUT shift register assigned to SR#3

#define DEFAULT_GP_DOUT_SR_R 4 ; second GP DOUT shift register assigned to SR#4

;

;

; === Shift Register Matrix ===

;

; set this value to 1 if each track has its own set of 16 LEDs to display unmuted steps and current sequencer position

#define DEFAULT_SRM_ENABLED    0

;

; define the shift registers to which the anodes of these LEDs are connected

; Note: they can be equal to DEFAULT_GP_DOUT_SR_[LH], this saves two shift registers, but doesn't allow a seperate view of UI selections

#define DEFAULT_SRM_DOUT_L1 15

#define DEFAULT_SRM_DOUT_R1 11

;

; define the shift register to which the cathodes of these LEDs are connected

; Note that the whole shift register (8 pins) will be allocated! The 4 select lines are duplicated (4 for LED matrix, 4 for button matrix)

; The second DOUT_CATHODES2 selection is optional if LEDs with high power consumption are used - set this to 0 if not used

#define DEFAULT_SRM_DOUT_CATHODES1 16

#define DEFAULT_SRM_DOUT_CATHODES2 12

;

; set this to 1, if DUO colour LEDs are connected to the LED matrix

#define DEFAULT_SRM_DOUT_DUOCOLOUR 1

;

; define the shift registers to which the anodes of the "second colour" (red) LEDs are connected

#define DEFAULT_SRM_DOUT_L2 9

#define DEFAULT_SRM_DOUT_R2 10

;

; set this to 1 if a button matrix is connected

#define DEFAULT_SRM_BUTTONS_ENABLED 0

; set this to 1 if these buttons should only control the "step triggers" (gate, and other assigned triggers) - and no UI functions

#define DEFAULT_SRM_BUTTONS_NO_UI  1

; define the DIN shift registers to which the button matrix is connected

#define DEFAULT_SRM_DIN_L 11

#define DEFAULT_SRM_DIN_R 12

;

;

; === BPM digits ===

;

; set to 1 or 2 to enable the 3 optional BPM digits

;    0: BPM digits disabled

;    1: digits with common cathode

;    2: digits with common anode

#define DEFAULT_BPM_DIGITS_ENABLED 0

;

; define the shift register to which the segments are connected (0=disabled)

#define DEFAULT_BPM_DIGITS_SEGMENTS 0

; define the shift register to which the common pins (cathodes or anodes) are connected (0=disabled)

#define DEFAULT_BPM_DIGITS_COMMON 0

;

Link to comment
Share on other sites

Sounds like the SC or RC line is not connected properly. Or maybe the output of SR5 is not connected correctly to the input of SR6

The SRIO interconnection test helps to check the SC/RC lines, see also http://www.midibox.org/dokuwiki/din_module

(although the page is named "din_module", it contains some debugging infos for the DOUT module as well)

The connection between the O8 output of SR5 and the SER input of SR6 has to be checked visually

Best Regards, Thorsten.

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