コード例 #1
0
 /**
  * Sets the quadrature encoder's position
  * @param newPosition  Position to set
  * @param timeoutMs
  *              Timeout value in ms. If nonzero, function will wait for
  *              config success and report an error if it times out.
  *              If zero, no blocking or checking is performed.
  * @return Error Code generated by function. 0 indicates no error.
  */
 public ErrorCode SetQuadraturePosition(int newPosition, int timeoutMs)
 {
     return(_ll.SetQuadraturePosition(newPosition, timeoutMs));
 }