Hi together,
is there a way to start/stop/reset the built-in timers from a (telemetry) Lua script? I do not have any buttons left to do so so I want to use Enter and Exit short-press within the telemetry screen, catched with key event constants, to start-stop (Exit button) and reset (Enter button) Timer 1:
if event == EVT_EXIT_BREAK then
-- Start/stop timer
-- HOW DO I START/STOP TIMER 1?
end
if event == EVT_ENTER_BREAK then
-- Reset timer
-- HOW DO I RESET TIMER 1?
end
Is that possible? I couldn't find anything.
Thanks,
Kriz
Start/stop/reset built-in timers with Lua script
- bob195558
- Posts: 2377
- Joined: Sun Dec 16, 2012 7:24 pm
- Country: United States
- Location: New England, Vermont
- Contact:
Re: Start/stop/reset built-in timers with Lua script
What do you have for a Radio ?
Changing to erskyTx (was ersky9x) firmware will allow for more switches to be added.
Changing to erskyTx (was ersky9x) firmware will allow for more switches to be added.
Er9x on 9x radio, with Smartieparts Programmer and TelemetrEZ Board.
ErSky9x on Taranis, Sky9x, 9Xtreme radios.
3D-Printing: (https://openrcforums.com/forum/viewforum.php?f=129).
ErSky9x on Taranis, Sky9x, 9Xtreme radios.
3D-Printing: (https://openrcforums.com/forum/viewforum.php?f=129).