How to control a servo motor using a PID control with input from current sensor. I am not so proficient in arduino and in coding so can anyone please help me. I want to create a closed loop using pid for controlling servo with current sensor acs70331

yes you are right... if you don't mind can you please help me in this coding. Can you please give me the code... I am bit confused on how to do it...