Page 2 of 2

Re: how to alter the controller's code

Posted: Tue Nov 06, 2018 4:13 am
by zhoujincheng
I found the TIM2_CH4 in RX2 pin. But I'm not sure that RX2 can generate the PWM control signal. If could, what should I do to add an another deck, I have tried many times, but the compiling don't succeed....

Re: how to alter the controller's code

Posted: Wed May 29, 2019 7:04 am
by zhoujincheng
hello,dear friend,
I meet a new problem . :lol:
I modify your servodeck's code and can control two servos successfully now. But the CF2 cannot fly.... I use TIM5_CH3 and TIM5_CH4 to generate PWM , using TX2 and RX2 expansion connectors. Does TIM5 also control motors , I guess? So the servodeck influence the CF's normal flying?

Re: how to alter the controller's code

Posted: Thu Jun 13, 2019 12:06 pm
by tobias
The motors are using TIM2 and TIM4 so should not have a conflict with TIM5. It must be something else. Can you get it to fly if you don't compile the servodeck driver?