Sending a value of 0 will rotate the motor all the way to the left while 180 will rotate the motor all the way to the right. The motor can only go between 0 and 180. The wires should be plugged in from bottom to top: brown, red, orange. The top of the module is the edge with the icon.
What ports can I use it on?
All of them!
Code
using Magic;
public class Demo : MonoBehaviour
{
// create a reference to the module
public Magic.Modules.MoveModule move;
void Start()
{
}
void Update()
{
// call the module's function
move.SetDegree(90);
}
}