nazstaphobia
Newbie level 5
Hello,I'm new here.I'm doing project about IR proximity sensor for obstacles avoidance system.I had research some codes in here and internet and i found a bit.My problem is,i dunno how to combine the coding.I have to make the servo turn left or right with certain angles when the IR sensor detects the obstacles in front.I also have to control the DC motor to make it slower when it meets obstacles.Anybody here,please help me.I really need your help here.Therefore, I attached my circuits and coding.