write method
Write - mraa_pwm_write
Set the output duty-cycle percentage, as a double. The percentage value should lie between 0.0f (representing on 0%) and 1.0f. Values above or below this range will be set at either 0.0f or 1.0f
Implementation
MraaReturnCode write(MraaPwmContext dev, double percentage) =>
MraaReturnCode.returnCode(_impl.mraa_pwm_write(dev, percentage));