login|Register
Forum > Beginners
Post|
看46736|回34|Favorite
coscos 看全部
2017-1-25 20:41:50
Hello,
Is there a WiringOP version for Opi zero.
Or is there a screenshot for the proper mapping.

Thanks
Tina 看全部
2017-1-25 21:14:28
Edited by Tina at 2017-1-25 21:20

Hi,
I am not sure but I guess you want the 26 pin GPIO layout. If so you find that here

If you mean by "WiringOP" a version of the OPI zero with 2x13 pins you would have to ask the OPI guys.
I found only this 2x13 pin header on Aliexpress.
Edit:
I also found those 2x40. But I am sure the are cutable
coscos 看全部
2017-1-25 21:25:51
Edited by coscos at 2017-1-25 21:38

Thanks,
I have installed that connector and now want to control the IO s with a library, if possible WiringPi, WiringOp etc. I compile a led blink example for PC PLUS (H3) and able to toogle it by toggling GPIO_0 (wiringOp numbering), interestingly the same app works for Opi zero too (H2).
But I have problems with other GPIO's naming convention etc. And also not sure if my downloaded version of WiringOp(h3) can control SPI or (h2)correctly.

Any tips? Thanks.

coscos 看全部
2017-1-25 21:52:12
Ok I have somewhat figured it out. Pins seem to be mapped properly, I will check further and report back.

So one more question, is it possible to use SPI-CS0 pin as GPIO? (Opi PC or Opi Zero).
Eduard 看全部
2017-1-31 22:52:12
Hello,

I also have trouble to find out how to use the gpio in the orange pi zero. Likely I installed the wrong kind of wiringOP. Somewhere i had to choose between an orange pi pc and another orange pi model. there was no tab for choosing the zero. What should I use to program the zero in C language?

Cordially,

Eduard
1234.. 7NextPage

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC