I’ve made a prototype/testboard with a STM32F4 board, running midiboxNG. I’ve connected a 2x40LCD, a SCS board, a DINx4 with 24 buttons and 4 encoders, a DOUTx4 with 32 leds and an Ainser board with 8 pots, and a SD card of coarse.
After changing the DEFAULT.NGC to activate the Ainser module and the 4 encoders everything seems to work like a charm. But I got a strange problem with my DIN SR pinout and the button/encoder ID’s.
The first SR acts just normal, like I would expect it to do. D0=Button#1, D1=Button#2, D2=Button#3 etc.
But SR 2 acts like: D0=Button=Button#12, D1=Button#11, D2=Button#10, D3=Button#9, D4=Button#13, D5=Button#14, D6=Button#15 and D7=Button#16
SR’s 3 and 4 acts the same as SR2.
I tried all things I could think of, like changing the buttons boards, changing a DINx4 board. I’ve uploaded Midio128 with the same result. After that I flashed a new bootloader, formatted the SD Card. I made a new ‘button only’ NGC file with RESET_HW to check the button ID’s but the problem stays.
I can’t find were to check/change the DIN SR pinout/Button ID’s. I can only find that Button ID1 is equal to SR1D0, Button ID2=SR1D1 etc.. but in my case it’s not after SR1?! any help appreciated!
Cheers,
Roel