Ok so, I recently received a school project in which I need to make a small range IR sensor radar. I plan to make it in the configuration that the IR sensor sits on top of the servo which continuously needs to rotate and make sweeps, upon sensory activation, a buzzer, kept at a slight distance will beep. Now on to the problem, I had no problems writing the code for the buzzer and ir sensor, but, I cant seem to make it so that the servo works alongside that, I'd really appreciate it if someone could help me with that. Also, one last thing, all the code, I've obtained from over the internet, they guy who was supposed to do the actual coding ditched me. So yeah. pls help me!