Script Language

erskyTx runs on many radios and upgrade boards
ersky9x was a port of er9x for use on the sky9x board.
User avatar
MikeB
9x Developer
Posts: 16607
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Script Language

Post by MikeB » Tue May 28, 2019 9:26 pm

As currently implemented you may NOT have a space between the function name and the '(', so you need:

Code: Select all

 rssi=getvalue( "RSSI" )
if  rssi =0
resettelemetry(4)
end
stop
then it should work.

Mike

Edit: I've done a change so, in future, a single space or tab character will be accepted between the function name and the '('. I may be able to allow more spaces/tabs, but I don't want to do a more complex change now and, possibly, break something else!
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!


AlessB
Posts: 18
Joined: Wed Mar 01, 2017 9:09 am
Country: Ukraine

Re: Script Language

Post by AlessB » Wed May 29, 2019 6:56 am

Mike thanks so very much! It is working! Thanks again for a very good job!

Post Reply

Return to “erskyTx (was ersky9x)”