Page 1 of 1

Setting BEC voltage with Lua script

Posted: Fri Jul 12, 2019 10:42 am
by tonnie78
I have recently bought a FrSky Neuron 60 ESC.

Now I want to change the BEC voltage because I used HV servos in my glider so I want to set the voltage to 7 Volt.

I do not have this Airlink device so I am trying to use the lua script on my Horus X10.

I have already updated to OpenTx 2.2.4 to get the bec telemetry data and the sensors are found but when I run the script I het an error message. " ?:0. attempt to call field('getSensor' (nil value)

Anybody have a clue what's wrong here?

Re: Setting BEC voltage with Lua script

Posted: Fri Jul 12, 2019 3:00 pm
by Kilrah
It looks like you're trying to run a script that is made for OpenTX 2.3

The correct version to use with 2.2.4 is in the SD archive for 2.2.4.
https://downloads.open-tx.org/2.2/relea ... 2V0021.zip

Re: Setting BEC voltage with Lua script

Posted: Fri Jul 12, 2019 3:09 pm
by tonnie78
I downloaded this Lua script from the FrSky website.

I will try the one from the OpenTx sd card folder then.

Re: Setting BEC voltage with Lua script

Posted: Fri Jul 12, 2019 3:32 pm
by tonnie78
Great tip!!
Used the tool that was already in the sd card with OpenTx 2.2.4

It worked like a charm.
Thanks !