PWM class of PicoRuby
Singleton methods
new
PWM.new(Integer pin, ?frequency: (Float|Integer), ?duty: (Float|Integer)) -> instance
Instance methods
duty
instance.duty(Float|Integer) -> Float
frequency
instance.frequency(Float|Integer) -> Float
period_us
instance.period_us(Integer) -> Float
pulse_width_us
instance.pulse_width_us(Integer) -> Float