I have been playing with code actions on CyberBrick. I have tried to toggle all the neopixels, and add some more logic to them. However when I press the button on the remote the execution of the code is slow. Any idea how to make this faster?
Also any way to debug these actions, it is hard to see if it runs, or fails or just takes slow.
I have successfully connected to REPL. What I found is that if I have an action which only has a print in it it runs almost instantly, but my action with much more characters (~1500) takes a lot of time to load and then executes instantly (the first print in the action takes time then everything comes at the same time). So probably the issue is with the code parsing the scripts every time they are run
I’ll try that, but as I said in my edit an action only having a lot of prints takes a lot of time to start executing. Also NVS might not be that slow since the time between the first print in the first line and the Action executed output is nearly instant.
I do not know how to fix this, I am trying to reduce charachter count since it is the only thing I found that correlates with execution start speed.