MPU9150 Accelerometer, Gyro, Temperature, Compass icon MPU9150 Accelerometer, Gyro, Temperature, Compass MPU9150 ARC control reads compass, gyro, accelerometer and temperature via I2C, initializes and sets EZ-Script variables on demand. Try it →
 

Setposition

Servo.setPosition(port, position, [ezbIndex])

Parameters

port Servo port to set position of.
position Position to move the servo to.
ezbIndex (optional) Board index of the EZB to use.

Returns

Nothing

Description

Commands the servo to move to position. position is a value between 1 and 180.