Search found 90 matches

by planger
Sun Jan 28, 2018 9:09 am
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254747

Re: Script Language

OK, I can get the main popup menu to appear over the Telemetry script display, if you press either MENU LONG or the encoder button LONG. It will mean these two button presses can't really then be used within the telemetry script. Is there a solution to do something like this: the telemetry script t...
by planger
Sat Jan 27, 2018 9:49 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254747

Re: Script Language

I would say that not having access to the menu from the custom script telemetry page is really what would make me not using this method. If you are only visiting this page time to time then it might be fine, but if you want it to be your main landing page then to do anything on the radio you need to...
by planger
Sat Jan 27, 2018 9:10 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254747

Re: Script Language

Sounds good. Have you been able to include in g5 the trim switches fix? The custom telemetry page is exactly what I was looking for. But the only thing is that it does not react like the other pages. Only left and right do something but up/down/menu/exit do not work. I think you've done that to enab...
by planger
Fri Jan 26, 2018 8:30 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254747

Re: Script Language

Thanks Mike! I'm nearly done with my script. It's quite cool :D If there could be a way for a background script to take control of the screen that would be awesome. Something like you flick a switch the screen appears (like if it was launched from the menu) or you go to a special page or... Today I'...
by planger
Fri Jan 26, 2018 1:18 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254747

Re: Script Language

One more question: How can I access trim switches? I've tried "Atu" and "Atd" with no luck. I've checked and they are not set in the AIL mixer.

Pascal
by planger
Thu Jan 25, 2018 3:02 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254747

Re: Script Language

Is there a way to empty the play queue? or a parameter to playfile to either queue the file or play it immediately (=empty queue+play).
by planger
Thu Jan 25, 2018 2:57 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254747

Re: Script Language

Note: you shouldn't put the extension .wav in playfile...
by planger
Thu Jan 25, 2018 2:51 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254747

Re: Script Language

...
by planger
Thu Jan 25, 2018 10:46 am
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

I don't see any files...
by planger
Thu Jan 25, 2018 10:28 am
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254747

Re: Script Language

simple and working :D
by planger
Thu Jan 25, 2018 8:00 am
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254747

Re: Script Language

Mike, what about haptic?
Can we get a haptic/vibrate instruction?
by planger
Wed Jan 24, 2018 8:21 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254747

Re: Script Language

That's not the idea... I woud like my script to run when my model is loaded. It should work in background all the time and display information when you request it. I could use a switch and only display when it is pushed but I was thinking of a better integration within the radio. I don't know if tha...
by planger
Wed Jan 24, 2018 7:21 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254747

Re: Script Language

Thanks Mike, I've got other questions: - Can we set haptic? example vibrate(x) with x in ms. - Can there be an overlay on the existing display? I'm thinking of replacing for example the low part of the main screen where the channels are displayed with the script output. It could be an additional pag...
by planger
Wed Jan 24, 2018 3:48 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

MikeB wrote: Fri Jan 05, 2018 1:32 pmNew (test) versions of ersky9x will have the option byte with the 0x80 bit always set when in AFHDS2A protocol.
Mike, Is this available?
As far as I can see 221g2 still needs to select T-Rate to get the telemetry running.

Pascal
by planger
Wed Jan 24, 2018 3:46 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

I've setup my module to use your ID 7375be3b. From there I've power cycled at least 30 times my receiver with a servo sweep running on the radio. I haven't got a single issue where you usually get one in less than 10 tries... This is pointing in my eyes to an issue on the RX(s). Do you have the hard...
by planger
Wed Jan 24, 2018 1:25 pm
Forum: erskyTx (was ersky9x)
Topic: Script Language
Replies: 342
Views: 254747

Re: Script Language

Is there a way to write a value to a channel?
Like for the Logical switches if they are unused?
by planger
Tue Jan 23, 2018 8:30 am
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

Could you also dump the ID of your second module?
by planger
Mon Jan 22, 2018 6:49 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

This is only going to work if you are using the "Upload via USB" method from the arduino environement which I supposed you were doing but now I have a doubt...
by planger
Mon Jan 22, 2018 6:43 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

No, with the USB cable plugged at the back of the module.
by planger
Mon Jan 22, 2018 6:19 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

So in Multiprotocol.ino, uncomment the line #define DEBUG_SERIAL Flash the firmware with this line changed ;) The module will not start (led off) which is normal. In the Arduino IDE, open the "Serial monitor" (ctrl+shift+M). On the monitor you'll see the module starting and printing it's ID.
by planger
Mon Jan 22, 2018 6:09 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

What module type do you have? We can extract the ID. It's really easy if they are on USB.
by planger
Mon Jan 22, 2018 5:55 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

Sterling101 wrote: Mon Jan 22, 2018 5:45 pmPascal, do you mean when I have the connection live and stable if I change the RX_Num to a different one does it still stay connected?
Forget it was to demonstrate that you were not forcing the global ID because what RX_Num is doing in the background is to change slightly the global ID.
by planger
Mon Jan 22, 2018 5:37 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

That's what I thought - seems strange it still links up??? I'll re-bind anyway and re-test... Really? Are you sure you are forcing the global ID? That sounds really strange but worse investigating further. Can you answer this question: after changing RX_Num, does your RX still establish a connectio...
by planger
Mon Jan 22, 2018 5:32 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

How does the link actually establish when the receiver is powered up? Is the module always sending a packet out and when the receiver is powered up it communicates with the packet that's been received and establishes the link at that point? With the latest code, you have a one way conversation only...
by planger
Mon Jan 22, 2018 4:12 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

Then I don't know what to do else. Like I said the protocol is really at the bear minimum with just the TX sending a packet every 3850µs. I think you already did it but can you try different RX_Num numbers? (you need to rebind the RX for each different RX_Num). The goal of this test is to generate d...
by planger
Mon Jan 22, 2018 2:56 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

Can you try the attached version?
This is the bear minimum to get the protocol going...
by planger
Mon Jan 22, 2018 2:06 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

Can you also disable failsafe in _config.h ?

Pascal
by planger
Mon Jan 22, 2018 1:45 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

Could you try with the attached file instead?
Telemetry still disabled.

Pascal
by planger
Mon Jan 22, 2018 12:55 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

Leigh,

Is the only way to see a bad link is through RSSI/TSSI?
I would like to see if you could disable the telemetry in Multi _config.h file (and therefore loose the RSSI/TSSI information) to see if it helps.

Pascal
by planger
Fri Jan 05, 2018 1:57 pm
Forum: Turnigy 9XR PRO radio
Topic: Banggood 4in1 module, Flysky AFHDS2A and Telemetry
Replies: 189
Views: 123468

Re: Banggood 4in1 module, Flysky AFHDS2A and Telemetry

Hi Mike, Don't get me wrong... I'm not saying that er9x must support AFHDS2A full telemetry frames. I'm only saying that I would like to keep both "options" so if someone has a radio which doesn't know how to decode full frames but instead a radio with a frsky decoder then they will have a...

Go to advanced search