mirror of https://github.com/OpenIPC/wiki.git
Update sigmastar-research.md
parent
86f4cb31fd
commit
40c1c44414
|
@ -14,3 +14,14 @@ echo 10000 > /sys/class/pwm/pwmchip0/pwm1/period
|
|||
echo 25 > /sys/class/pwm/pwmchip0/pwm1/duty_cycle
|
||||
echo 1 > /sys/class/pwm/pwmchip0/pwm1/enable
|
||||
```
|
||||
|
||||
#### Control PWM IR led on 8232SWC-WE-B device, SSC335DE
|
||||
|
||||
```
|
||||
# set PWM4 on GPIO4
|
||||
devmem 0x1f203C1C w 0x3000
|
||||
echo 4 > /sys/class/pwm/pwmchip0/export
|
||||
echo 40000 > /sys/class/pwm/pwmchip0/pwm4/period
|
||||
echo 40 > /sys/class/pwm/pwmchip0/pwm4/duty_cycle
|
||||
echo 1 > /sys/class/pwm/pwmchip0/pwm4/enable
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue