login|Register
Forum > Python
Post|
看28145|回9|Favorite
daniyal876 看全部
2016-11-27 16:36:37
HI
i am trying to find any library by which i can control orangepizero PWM0 but i am failed please can any one help me to find?
i am new with these devices. and once i found blinky.c program but i tried to understand that code but fail.
Please guide me
nopnop2002 看全部
2017-4-1 13:36:38
Edited by nopnop2002 at 2017-4-3 23:02

quote:

iboguslavsky replied at 2017-3-25 05:59
There is a new PWM driver available (it uses UART0_RX pin on the UART breakout header):

https://g ...

I made PWM C Library for H3/H2+ Sunxi SoC.
And it can control using command line(pwmc).

https://github.com/nopnop2002/pwmlib-opi


nopnop2002 看全部
2017-1-23 20:44:53
Edited by nopnop2002 at 2017-1-23 21:01

The port which can be used in PWM0 is UART0_RX.
UART0_RX (PA5) is middle pin of the UART header.
Locating the UART header is here.

https://linux-sunxi.org/Xunlong_Orange_Pi_One
iibb01 看全部
2017-1-22 10:25:46
i need help Android Qpython3 How to gpio pin ON/OFF?  what library can work? my board is OPI+2E with Android 4.2
nopnop2002 看全部
2017-1-31 21:41:05
Edited by nopnop2002 at 2017-1-31 21:57

quote:

jps replied at 2017-1-31 19:32
But acording with this document, the PWM port is:but i can not find the way to control, for example ...

I have a data seat of H3 here.

http://linux-sunxi.org/images/4/ ... _Datasheet_V1.2.pdf

There is an explanation of PWM in P74, but there are no functions of PWM in PA6.

You can use 16 Channel 12-bit PWM/Servo Driver-I2C interface of PCA9685.It's only $1.8
nopnop2002 看全部
2017-2-2 19:37:56

quote:

jps replied at 2017-2-2 02:51
Yes, but then, what about this:
PA6 (SIM_PWREN/PWM1/PA_EINT6)

I think this is a mistake.

12NextPage

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC