cancel
Showing results for 
Search instead for 
Did you mean: 

RC Receiver input not being picked up

Sonzaye
Associate

 

Screenshot 2025-05-28 at 22.46.07.png

This is the code i am using to pick up input from RC receiver to then change pwm values, but there seems to be a problem. PWM's are unresponsive to RC receiver which is connected to timer 2 channels. Is the given code correct? could it be that HAL_Delay is causing problems? I would appreciate any feedback, ive spent too much time trying to figure out the issue. 

 

 

2 REPLIES 2
Pavel A.
Super User

What if you change batteries into the transmitter thing? Just guessing.

 

Sonzaye
Associate

The transmitter works perfectly fine actually, the problem is that i think ic_width stays empty, i cant check too because the ports for uart 2 are being used for timer and there are no other 5v resistant ports i can put the timer on.