Search found 6 matches

by nico84
Sun Jan 07, 2018 3:42 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254088

Re: Script Language

I works. Added: saveSettings: rem --write commands page= currentPage gosub check_values if v_flag cmnd = write p_size = packet_size j = 1 while j <= packet_size if page = 1 payloadReq[j] = values_pid[j] elseif page = 2 payloadReq[j] = values_rates[j] elseif page = 3 gosub getWriteValuesVTX payloadRe...
by nico84
Sat Dec 23, 2017 3:43 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254088

Re: Script Language

Hi Midelic and João,
thank you. I will try. But I think my code is bad. PID read and write is fine.

Edit:
Ok I see it. I will try.
by nico84
Fri Dec 22, 2017 9:31 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254088

Re: Script Language

I tried to add vtx setup to midelics script. I can read the values, but when I change and save them betaflight does not accept them. I have no Idea why.

@midelic
what does packet_size do. From where do you get the values?
0BF_basic.zip
(4.39 KiB) Downloaded 327 times
by nico84
Thu Dec 21, 2017 11:03 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254088

Re: Script Language

No, now I have added the diode and ist is working now. Thank you.
by nico84
Thu Dec 21, 2017 5:53 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254088

Re: Script Language

I tested the PID script with ar9x, xjt and r-xsr. It does not work. All PIDs are "0". Telemetry is working, I can read the Voltage from Betaflight.
ersky9x version is f8
Betaflight is 3.2
by nico84
Wed Dec 20, 2017 5:50 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254088

Re: Script Language

midelic wrote: Thu Nov 30, 2017 11:39 pm Thanks Mike,
I just tested it and working I changed PID in in betaflight.
Awesome.
Cool. Can you make a Script to change vtx channel, Band and Power?

Go to advanced search