code: func (p *PWMPin) SetDutyCycle(duty uint32) (err error) {
  	_, err = p.write(p.pwmDutyCyclePath(), []byte(fmt.Sprintf("%v", duty)))
  	return
  }
docs: // SetDutyCycle writes value to pwm duty cycle path
  // duty is in nanoseconds