History midi_ccxy_out seems to send all the time


I am working on sending MIDI messages out based on when things change. Example I toggle an LED on to off or off to on. In this case, what I seem to be observing is the fact that the MIDI out keeps sending zeros when there is no change.

What is the best way to only send a message when there is a change?

Please note: I am in the dev branch.


Good catch, this appears to be a bug. I did have some throttling behaviour in there to prevent sending midi values unless they have changed, but it doesn’t seem to be being included for CC outs.

I’ve just pushed a fix for this to the dev branch. If you do a git pull you should get this fix.