Skip to content

Fix PWM demo for non-Device Tree

Lup Yuen Lee requested to merge pwm into master

Modified PWM commands for use without Device Tree...

  • pwm_init command now accepts Frequency (2,000 to 800,000)...

    pwm_init 1 11 2000
  • Add pwm_duty_set and pwm_freq_set to set Duty Cycle (percentage from 0 to 100) and Frequency...

    pwm_duty_set 1 50
    pwm_freq_set 1 2000
  • Add pwm_duty_get to display Duty Cycle...

    pwm_duty_get 1

Merge request reports