Loading

Report as inappropriate

it is an easy way that use the lib and functions

Adafruit_PWMServoDriver.h

Adafruit_PWMServoDriver servo;
servo.setPWM(servo_pin[i][j], 0, pwm);

you can google more information about this lib.