code: func (p *PWMPin) Period() (period uint32, err error) {
  	if p.period == 0 {
  		return p.period, errors.New("Raspi PWM pin period not set")
  	}
  
  	return p.period, nil
  }
docs: // Period returns the current PWM period for pin