12
Return to list Post new posts
Author: jacer

WiringOP a GPIO library for Oangepi PC/ Plus is released for testing.

[Copy link]

18

threads

303

posts

9939

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9939
 Author| Published in 2015-12-2 17:06:32 | Show all floors
zenoize replied at 2015-11-30 00:24
Hello, I am using Loboris Debian XFCE img that works stable on my Orange PI Plus.
Sorry for my Engli ...

You can ask zhaolei or sauberpauli for help. His email address is  zhaolei@i1602.com.

3

threads

44

posts

1243

credits

Gold member

Rank: 6Rank: 6

credits
1243
Published in 2015-12-23 02:59:56 | Show all floors
None of the blink examples seem to work.

And trying to turn on a pin from the command line does not work.

gpio mode 0 out
gpio write 0 1

*should* turn on physical pin 11; it does not

1

threads

11

posts

104

credits

Registered member

Rank: 2

credits
104
Published in 2016-1-18 01:51:12 | Show all floors
zenoize replied at 2015-11-30 00:24
Hello, I am using Loboris Debian XFCE img that works stable on my Orange PI Plus.
Sorry for my Engli ...

Hear was something about this ..... http://orangepi.pp.ua/index.php/board,27.0.html

2

threads

19

posts

110

credits

Registered member

Rank: 2

credits
110
Published in 2016-1-22 17:12:09 | Show all floors
In the software posted the following is part of wiringPi.c but with orangePi the gpio module will create a path  "sys/class/gpio_sw" in sysfs. Is this just a simple fix in the path or will this be more complicated?

if (sysFds [bcmGpioPin] == -1)
  {
    sprintf (fName, "/sys/class/gpio/gpio%d/value", bcmGpioPin) ;
    if ((sysFds [bcmGpioPin] = open (fName, O_RDWR)) < 0)
      return wiringPiFailure (WPI_FATAL, "wiringPiISR: unable to open %s: %s\n", fName, strerror (errno)) ;
  }

0

threads

1

posts

10

credits

Novice

Rank: 1

credits
10
Published in 2016-9-16 22:21:06 | Show all floors
vlad_ru replied at 2016-1-18 01:51
Hear was something about this ..... http://orangepi.pp.ua/index.php/board,27.0.html

Thanks vlad for the link.
git clone https://github.com/WereCatf/WiringOP.git -b h3
works for my PC+ armbian 3.4.112-sun8i, especially  wiringPiISR


12
Return to list Post new posts
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list