VSN1 and LED control

Hi,

new user here :slight_smile:

After puchasing a PBF4 in summer last year I also got a VSN1 to improve my keyboard rig.

After Christmas I found some time, updated the PBF4 and Grid to the latest versions and reviewed my first project on the PBF4.

I did a configuration where I splitted the controls (buttons, fader, knows…) and LED feedback. I.e. whenever a control element changes on the PBF4 a CC message is sent out by MIDI,. My host (Gig Performer) sends back this CC and the LEDs reflects the state.

This has the advantage, that I can keep GP and the PBF4 in perfect sync when changing rackspaces/variations in GP.

Everything works as expected, I was able to get rid of all intermediate errors after updating and learned a lot about grid, the docs and how the various pieces work together :sunglasses:

Then I started to work with the VSN1. I’m able to draw my own stuff on the LCD. Send & receive MIDI as on the PBF4 :sunglasses:

However, I was not able to control the LEDs as on the PBF4 :thinking:
The LEDs don’t react at all, when changing from “Simple Color” to “Color” in the action block. Even not in static mode, to setup the ‘idle’ colour. Even in Grid editor they don’t change like the simple color ones?!

Are there known issues? Do I oversee something?

I’m on grid 1.6.2 macOS and FW 1.5.0 on my devices.

Because of new user restrictions: my current “Setup”

Hi!

For the older “Color” Actions you will need the Intensity Action as well to make it show color.

It’s the same for the Simple Color as well, it’s just that both of those functions are built-in under the hood into that single block.

Color creates color and Intensity makes it light up according to the state of the button. So something like this should just work:
image

Sorry, uploaded the wrong screenshot :man_facepalming:

Just to be clear, I did the following steps and can reproduce it:

  • ‘cleaar’ the VSN1 to default behavior
  • remove (delete) the Simple color from Button0
  • add Color and Intensity

The Button0 does not show up with any color - if pressed or depressemd makes no difference. I can move around with the Color picker - no change?!

As said Grid Editor 1.6.2 on macOS, Firmware 1.5.0 on the VSN1(L)

I did a similar check with Button1 by using code

Nothing :frowning:

I also tried to reload the current firmware from GitHub manually - no change

Oh, I see the problem now.
Yes, the LED number is not adressing the correct LED. This is why the changes have no effect.

You can remedy this by changing the code for the LED Number to: led_address_get(self:element_index(), 0).

This issue is caused by the transition from led_value() to self:led_value() and changing the LED addresses of some LEDs (on the TEK2 and the VSN1) in FW patch 1.4.0.
In the past the LED address was equal to the Element Index in the cases of buttons on the TEK2, but not anymore. But the Intensity and Color blocks still include the old legacy functions.

The following setup will work in all cases:

1 Like

Thanks a lot! That made it work for me!

1 Like