Melonenmonster Posted August 6, 2006 Report Share Posted August 6, 2006 Hello Midiboxers,I'm reprogramming a midibox64 to get all 64 DIN buttons sending MIDI and nothing else, no menu etc.All is well so far, but I could not turn off autorepeatingfor the 8 buttons at pins 4-7 of SR0 and of SR1.I have turned off normal autorepeating with MIOS_DIN_PinAutoRepeatDisable and even reset bit 4 (MIOS_BOX_STAT_AUTOREPEAT) of MIOS_BOX_STAT,all with no success. I could not even find the part of the program that does the autorepeat in my case, neither in the MB64 nor in the kernel. Perhaps I have totry harder, I'm just a bit tyred after searching for too long. Any help is highly appreciated.Thank you.Ralf Quote Link to comment Share on other sites More sharing options...
stryd_one Posted August 6, 2006 Report Share Posted August 6, 2006 Just a thought... If you don't want a menu etc, why not use a skeleton C app and try this code Quote Link to comment Share on other sites More sharing options...
Melonenmonster Posted August 6, 2006 Author Report Share Posted August 6, 2006 The modified application does a lot of other things, in assembler,so C is not an option, but looking at NotifyToggle is an interesting point. I tried it and the result is that MIOS_DIN_NotifyToggle is already calledrepeatedly. So the autorepeater must be somewhere before. Ralf Quote Link to comment Share on other sites More sharing options...
Melonenmonster Posted August 6, 2006 Author Report Share Posted August 6, 2006 Sorry everybody, it was a hardware fault.The masses of the 8 buttons which repeated when pressedwere not connected to the ground. Instead, they were connectedto a LED multiplex line and got the on-off-signal from this connnection. All the best,Ralf Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.