Setting BEC voltage with Lua script

General Help and support for the Taranis Radio.
Post Reply
tonnie78
Posts: 123
Joined: Mon Jan 12, 2015 9:33 am
Country: -

Setting BEC voltage with Lua script

Post 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?

User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Setting BEC voltage with Lua script

Post 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
tonnie78
Posts: 123
Joined: Mon Jan 12, 2015 9:33 am
Country: -

Re: Setting BEC voltage with Lua script

Post by tonnie78 »

I downloaded this Lua script from the FrSky website.

I will try the one from the OpenTx sd card folder then.
tonnie78
Posts: 123
Joined: Mon Jan 12, 2015 9:33 am
Country: -

Re: Setting BEC voltage with Lua script

Post 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 !

Post Reply

Return to “General help (FrSky Taranis radio)”