Changes between Version 2 and Version 3 of linux/pwm


Ignore:
Timestamp:
01/26/2021 08:45:37 PM (4 years ago)
Author:
Tim Harvey
Comment:

fix typo

Legend:

Unmodified
Added
Removed
Modified
  • linux/pwm

    v2 v3  
    202202{{{
    203203#!bash
    204 echo 500000 > /sys/class/pwm/pwmchip0/pwm0/period # set 500us (50% duty-cycle if period is 1ms)
     204echo 500000 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle # set 500us (50% duty-cycle if period is 1ms)
    205205cat /sys/class/pwm/pwmchip0/pwm0/duty_cycle # see duty_cycle
    206206}}}