I'm not sure why, but when I spin my endless encoders it affects the button LEDS. Also I'd like to be able to figure out how to set up or manipulate the LED behavior of the Endless encoders too but everytime I try to program it it using Grid editor, I fail miserably. It would be nice if there was some video tutorials showing how to do some basic things with these controllers.
Can someone look at my configuration and help me clean up the LED behavior on my TEK2?
Replies (50)
the new firmware changed the addressing of the TEK2. I recommend saving your current configuration to the Profile Cloud and then clearing the module config.
You’ll now notice that in the Endless, there’s a Simple Color block, which makes it easy to color the LEDs.
Then implement your config to the new basic config
I tried that and it's still messed up, it's fine until I load my endless encoder config
There is 2 code blocks:
local n, val, dir = self:element_index(), self:endless_state(), self:endless_state() - 64
for i = 0, 4, 1 do
led_value(n + i * 2, 2, 0)
end
fs = (math.abs(dir - 1.1) / (dir - 1.1) + math.abs(dir + 1.1) / (dir + 1.1)) / 2
dir = math.abs(dir) / dir
led_value(n + (2 + dir) * 2, 2, 80)
led_value(n + (2 + dir + fs) * 2, 2, 50)
timer_start(n, self.time)
and
if self.ax ~= 3 and self.ca == false then
mouse_button_send(1, 1)
self.ca = true
end
if val > 63 then
mouse_move_send(self.ax, -1 * self.st)
else
mouse_move_send(self.ax, self.st)
end
Somebody from intech made this configuration, it's awesome, but the LEDs are all messed up
It would seem like the LEDs are messed up on my EF44 as well... perhaps also related to firmware update?
How can I share the element with you?
I know this configuration, it looks like the Relative Mode Endless one.
Sending mouse moves of course.
Well, the LEDs are messed up because the new FW references them differently.
AFAIK this is fixable by deleting everything in the Loop block and replacing it with a new Simple Color block.
Loop block? I'm sorry I don't see a Loop block or know what that is.
You mean the repeat blocks?
I deleted everything between the Repeat and End blocks and added the simple color block in it's place... but the LEDs are still messed up.
Oh yeah, since I wrote that I've been trying to fix this 😄
It ain't easy 😄
Alright, so uploaded the config with the fix under Relative Mousewheel FW1.4, check it out if you can!
When I click on that config to load it I keep getting this:
It doesn't load
huh, yeah Profile Cloud is acting horrible these days
if you reload the editor with cmd+shift+r, does it load after?
No, i get the same. I also just hit dismiss and then appy it to the element with the green arrow but then I get the same again
oh damn, I'm just noticing that it only works on the left knob....
oh I think I know what's wrong, I'm on the nightly FW with the expanded code limit
It's only Relative Mousewheel FW1.4
Yeah, I know. The code is over the 390 limit.
no one likes limits!
My problem is still with the config only working for the left knob.
the function self:led_index(n) should call the LED index of the nth LED tied to that element.
but for some reason it doesn't
I wish I could help but I'm totally inept at this
Okay, so I've made a workaround, but you'll have to upgrade to 1.4.2 for it.
You can do this by enabling Nightly Firmware updates under Preferences/Developer Settings
Or you know what
I'm still getting the same
I'll just make the code smaller
Like change the font size? I can do that!
I joke
okay, try it now!
should load on old firmware now
That's nice!
okay, I checked, it loads and works on FW 1.4.1 using editor 1.6.0
Seems to work good!
Better than the one I was using before
yeah, fixed the LEDs, but it's really ugly, so sorry about that
working with undocumented code here...
View on Discord
This post is from the Intech Studio Discord community.

