Well, of course I'm going to tackle the most complex config in my setup right out of the box 😅
I'm this far:
if val == 64 then
led_value(num, 1, 0)
elseif val > 64 then
led_color(num, 1, 255, 255, 0, 0)
led_value(num, 1, val - 64)
else
led_color(num, 1, 255, 110, 0, 0)
led_value(num, 1, math.abs(64 - val))
end
if val == 64 then
elseif val > 64 then
midi_send(0, 176, 74, val)
midi_send(ch, 176, 76, 127)
else
midi_send(0, 176, 74, val)
midi_send(0, 176, 76, 0)
end
Not sure how to scale the CC value so if >64 0-127, 64> 0-127 (basically L or R from zero/12 o'clock it starts at 0 and goes to 127). From research gathered to-date here, and the website forum, setting resolution to 256, then doing a few IF/ELSE, with maths could get me there... ...this is day#1 and I'm about ~7hours in to general understanding 😁
If I knew what I was doing, I'd probably include a little dead zone with the LED either off or green
Thanks in advance for any assistance 🍻

