flyduino / kissfc-tx-lua-scripts

Kiss Lua configuration script for taranis
GNU General Public License v3.0
40 stars 14 forks source link

Pid Tuning w/ LUA script takes too line because of decimals #12

Closed jrgutier closed 7 years ago

jrgutier commented 7 years ago

Having floating numbers is awesome. However, it actually takes a long time to get to +1 of what you had previously (100 clicks).

Is there a way to have the interval change from .01 to something bigger as you hold down a button? Kind of how it works on an oven timer.

BigBangPro commented 7 years ago

Code is already using the 'hold down button' event==EVT_PLUS_FIRST or event==EVT_PLUS_REPT It can increase a whole integer pretty quick even using 0.01 increments

I gues you could split the two events and have a larger step for EVT_PLUS_REPT

fedorcomander commented 7 years ago

Added fast number changes when holding the button + and -