OpenTx Lua Script Lap Timer
I've written a Lap Timer Lua script to be used with OpenTx. This script is a result of requests received via Painless360 and website (RCdiy.ca) feedback.
The lap timer has two switches which can be logical or physical.
These switches are configurable by editing the script file in a plain text editor.
By default the timer start and stop switch is logical switch one.
For this demonstration logical switch one has been configured to be true when the throttle is above negative 100.
So the timer starts as soon as the throttle goes up.
The lap switch is configured to be the momentary switch SF on the Taranis.
To record a lap raise and then release the lap switch.
To reset to zero stop the timer and then raise and release the lap switch.
The script displays the current elapsed time.
The number of laps.
And the time for each lap.
The script also has audio which can be configured by editing the script file.
For each lap a beep, the lap number and the lap time in minutes and seconds is played.
openTx has introduced a range of new features, ideas and bling. It is fast becoming the firmware of choice for many users. openTx will run on ALL current hardware platforms, including the gruvin9x and sky9x boards. Work has already started to support the new FrSky X9D radio!
1 post • Page 1 of 1
Who is online
Users browsing this forum: Bing [Bot] and 2 guests