Hi Forum!
Finally i really have time to work on my seq, finally i´m getting somewhere.
Right now i´m soldering buttons and leds.
To match to my hardware i have decidet to use my own definition for the buttons and leds.
First of all: I can´t programm and i feel it´s really great how the setup.asm file is commented. Think i have understood almost everything, only few questions remain (sorry if these are answered elswhere, i didn´t really find it here or in the wiki):
LED_GROUP1 EQU (((11 -1)<<3)+ 0) ; OPTIONAL! see CHANGELOG.txt
LED_GROUP2 EQU (((11 -1)<<3)+ 2) ; assigned to pin 2 due to DUO LED
LED_GROUP3 EQU (((11 -1)<<3)+ 4) ; assigned to pin 4 due to DUO LED
LED_GROUP4 EQU (((11 -1)<<3)+ 6) ; assigned to pin 6 due to DUO LED
I thought the track group buttons are normal leds. Really confused now.
Next thing, If for example i change the dout pinning so that the play led is on pin 1 of shift register nr5 than this will of course interact witch the definition for the bpm display.
What do i do? Simply this?
; === 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
;
3rd question:
If a din pin that has a function in the original design will be unused in my setup, what do i have to do?
Eg, in my design pin D4,5,6 of register 4 will be unused.
I will adjust this entry to my need anyway:
DIN_ENTRY SEQ_BUTTON_Solo, 4, 4
DIN_ENTRY SEQ_BUTTON_Fast, 4, 5
DIN_ENTRY SEQ_BUTTON_All, 4, 6
After that D4,5,6 will not be definened any more. Done?
Thanks, Jens