<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!-- Driver Descriptor for Arduino Compatible Servo Motor -->
<DRIVER HEADER="motor_shield_v2.h">
   <REQUIRE HEADER="Servo.h"/>
   
   <!-- Servo Motor methods -->
   <METHOD NAME="read" DESC="Read angle of the servo in degrees.">
      <RETURN NAME="angle" TYPE="FLOAT" />
   </METHOD>
   <METHOD NAME="write" DESC="Set the servo Angle.">
      <PARAMETER NAME="angle" TYPE="FLOAT" DESC="Angle value to write, from 0 to 180."/>
   </METHOD>
   <METHOD NAME="readMicroseconds" DESC="Read control pulse width">
      <RETURN NAME="width" TYPE="INTEGER" DESC="Pulse width in microseconds"/>
   </METHOD>
   <METHOD NAME="writeMicroseconds" DESC="Set the control pulse width">
      <PARAMETER NAME="us" TYPE="INTEGER" DESC="Pulse width in microseconds."/>
   </METHOD>
   <METHOD NAME="attach" DESC="Re-Attach the Servo controller to its pin "/>
   <METHOD NAME="detach" DESC="Detach the Servo controller from its pin."/>
</DRIVER>
