Return LEDs to APC40 from Daslight

Hi, I created a new topic for this.

The output of Daslight would be BMT 1 and then within Bome MIDI Translator Pro you would route that signal to the APC-MINI.

Note that the LED brightness of the APC -MINI MK2 depends on the MIDI channel you return for the 8x8 matrix LEDS. The velocity devices the color. This post shows how it works.
MIDI CH 7 is the brightest. After that it changes to the blink rate.

For the side and bottom buttons, you use MIDI CH 1 and the velocity of 127 for on and 0 for off but there is only one color.

As far as updating LED’s when the preset changes, you would need to capture the return value of all LEDs all of the time in global variables but not send them to the controller and then use a timer to update all LEDs as a given layer is activated. This would be triggered by an enable preset message.

I typically use a bit map ( 2 state) of the buttons’ state and then define an ‘on-color’ and ‘off-color’ to send depending on the state.
This post show how it is done with an APC-MINI MK1. There may be an example for the MK2 on the forum as well.

There are rules that can be used for bit operations shown here. With two global variables you can handle 64 button on/off states since each global variable is 32 bits.

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz