ArduinoMotorCarrier - SERVO

Represent the servomotors available on the MotorCarrier. There are 4 headers for servomotors.

Syntax

servo1.setAngle(int)
servo2.setAngle(int)
servo3.setAngle(int)
servo4.setAngle(int)

Function

  • setAngle(int): Set the rotation angle (from 0 to 180)