- Posts: 10
Phoenix problems in PRE 2.1
- HiNote
- Topic Author
- Offline
It can't work with phoenixrc for me.
With latest installed version (deviation-devo6-f75fc49368fe), it works ok, but with this version, my devo 6s is detected by phoenix as connected, but no channel moves in phoenixrc
I tried to configure a new trasmitter, but the same problem again. Nothing moves in phoenix.
I didnĀ“t change values in PPM settings. 8ch selected
Please Log in or Create an account to join the conversation.
- Hexperience
- Offline
- Posts: 588
There are 10 types of people in this world. Those that understand binary and those that don't.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
If you had a previous version that had some options, it won't upgrade properly, but upgrading from a 2.0 model or creating a new model, or selecting the protocol options should all fix the issue.
I do not guarantee seamless upgrades from intermediate hg builds.
Please Log in or Create an account to join the conversation.
- dado099
- Offline
- Posts: 95
My usb interface always blinks when receiving a ppm signal, but now it's steady.
Hope for a fix.
Thank you
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- sbstnp
- Offline
- Posts: 649
Center PW= 1100
Notch & Delta = 400
Frame size = 22500
Phoenix works and detects the TX only in 10 channel mode. I had to recalibrate the sim since all the channels were way off. After this everything works as it did before.
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
if(state & 0x01) {
...
...
val = pulses[state / 2]; => pulses[0.5] or pulses[1.5] or ...
...
...
}
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
{
static volatile u16 accum;
u16 val;
if (state == 0) {
accum = 0;
build_data_pkt();
}
if(state & 0x01) {
PWM_Set(1);
if(state == num_channels * 2 + 1) {
state = 0;
? Model.proto_opts[PERIOD_PW] + (num_channels - 9) * 2000 - accum
: Model.proto_opts[PERIOD_PW] - accum;
}
val = pulses[state / 2]; maybe val = pulses[(state - 1) / 2];
} else {
PWM_Set(0);
val = Model.proto_opts[NOTCH_PW];
}
state++;
accum += val;
return val;
}
It's working for any number of channels.
Please Log in or Create an account to join the conversation.
- Hexperience
- Offline
- Posts: 588
if (num_channels > 9)
return Model.proto_opts[PERIOD_PW] + (num_channels - 9) * 2000 - accum;
return Model.proto_opts[PERIOD_PW] - accum;
But I could be wrong so I didn't say anything.
There are 10 types of people in this world. Those that understand binary and those that don't.
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
if (num_channels > 9){
return Model.proto_opts[PERIOD_PW] + (num_channels - 9) * 2000 - accum;
}
else{
return Model.proto_opts[PERIOD_PW] - accum;
}
or will be the same
return num_channels > 9
? Model.proto_opts[PERIOD_PW] + (num_channels - 9) * 2000 - accum
: Model.proto_opts[PERIOD_PW] - accum;
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- Hexperience
- Offline
- Posts: 588
vlad_vy wrote: It's incorrect.
Without the brackets the way I did it works fine. One line if statement...
Anyway.. that's exactly why I didn't say anything...
There are 10 types of people in this world. Those that understand binary and those that don't.
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- Home
- Forum
- News, Announcements and Feedback
- Feedback & Questions
- Phoenix problems in PRE 2.1