servoWrite method

void servoWrite(
  1. int pin,
  2. int position
)

Steers the position of the servo at pin to position. For details see http://wiki.friendlyarm.com/wiki/index.php/BakeBit_-_Servo

Implementation

void servoWrite(int pin, int position) {
  _sendCmd(servoWriteCmd, pin, position);
}