/** * Gets the PWM Input * @param pwmChannel PWM channel to get. * @param pulseWidthAndPeriod Double array to hold Pulse Width (microseconds) [0] and Period (microseconds) [1]. * @return Error Code generated by function. 0 indicates no error. */ public ErrorCode GetPWMInput(PWMChannel pwmChannel, float[] pulseWidthAndPeriod) { return((ErrorCode)_ll.GetPWMInput((uint)pwmChannel, pulseWidthAndPeriod)); }