4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 11:03:30 +08:00

2 Commits

Author SHA1 Message Date
0xcccccccccccc
5d32b5d2d2 - fix indentations. 2020-12-07 20:40:43 +08:00
Du Huanpeng
cde1e5d940 bsp: ls2k: pwm driver
attach probe of the oscilloscope too the
3.3v & PWM3 like below:

          jack
    ------|  |---|    |-|    |----
    |o o 3.3v    |eth1| |eth0|
    |o o
    |o o
    |o o PWM3
    |o o

type commands below to rt-thread console:
    msh /> pwm_enable pwm0 3
    msh /> pwm_set pwm0 3 140 90

turn off pwm:
    msh /> pwm_disable pwm0 3

Signed-off-by: Du Huanpeng <548708880@qq.com>
2020-07-03 15:54:03 +08:00