LUA not OK, Failed to register action! EL: 0 EV: 3 | Intech Studio
💬 general GridRequest

LUA not OK, Failed to register action! EL: 0 EV: 3

naso · · 2 replies

I think EL stands for Element and EV stands vor Event. How do I finde the part of the code/event that is wrong. How do I know what the 3. Event is?
The problem started when I downloaded the new editor (v. 1.5.7) and did an firmware update on the GRID module. The other modules work fine, but my gen 1 BU16 stopped working.

Setup Code:

local num, val, red, gre, blu =
self:element_index(),
self:button_value(),
led_default_red(),
led_default_green(),
led_default_blue()
led_color(num, 1, red, gre, blu)
led_value(num, 1, val)
self:button_mode(1)
self:button_min(0)
self:button_max(16)

Code for the Buttons:

local num, val, erg, int =
self:element_index(),
self:button_value(),
(self:element_index() + self:button_value() + 32 * page_current()),
(127 - (self:button_value() * 5))
if self:button_state() > 0 then
midi_send(12, 176, 104, erg)
for i = 0, 15, 1 do
immediate_send(nil, nil, 'led_value(' .. i .. ',1,1)')
end
else
led_value(num, 1, int)
end

I have nothing undert Timer.

Thanks for the Help,
Naso

Replies (2)

narayb narayb ·

I tested your code and it runs fine for me on the latest FW!

narayb narayb ·

*Tested on both D51-based and ESP-based modules.

Discord

View on Discord

This post is from the Intech Studio Discord community.

Open thread →