View: 3700|Reply: 0

[Orange PI lite] How to PWM?

[Copy link]

2

threads

2

posts

30

credits

Novice

Rank: 1

credits
30
Published in 2018-5-21 23:57:24 | Show all floors |Read mode
Edited by skematic at 2018-5-22 02:32

Unlike the raspberry pi, it seems physical pin 12/wPi 1 is not capable of hardware PWM

  1. root@orangepilite:/home/orange/WiringOP# gpio mode 1 pwm
  2. the pin you choose is not surport hardware PWM
  3. you can select PI3 for PWM pin
  4. or you can use it in softPwm mode
Copy code


I've succeeded setting up softPwm in both cpp and python, but is there also a command in bash for this?

Also important, what pins are capable of hardware pwm?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list