Author: linga51

GPIO library - WiringPi

[Copy link]

0

threads

6

posts

114

credits

Registered member

Rank: 2

credits
114
Published in 2016-2-28 20:54:10 | Show all floors
@WereCatf
I recompile the kernel with sysfs interface enabled (loboris distro), disable gpio_sunxi module at start up and everything works.

Now my OPI is perfetct

thank you very much...

2

threads

19

posts

110

credits

Registered member

Rank: 2

credits
110
Published in 2016-3-2 05:42:42 | Show all floors
Oke everything works perfectly

  1. root@orangepipc:~/433Utils/RPi_utils# ./codesend 12345679
  2. sending code[12345679]

  3. root@orangepipc:~/433Utils/RPi_utils# ./RFSniffer
  4. Received 12345679
Copy code

2

threads

19

posts

110

credits

Registered member

Rank: 2

credits
110
Published in 2016-3-6 00:30:53 | Show all floors
@werecatf: Can you take a look at support for https://github.com/wiringX/wiringX on orange pi. Its similar to wiringpi but only supports bananapi

2

threads

144

posts

1104

credits

Gold member

Rank: 6Rank: 6

credits
1104
Published in 2016-3-6 03:50:54 | Show all floors
apocalyps replied at 2016-3-6 00:30
@werecatf: Can you take a look at support for https://github.com/wiringX/wiringX on orange pi. Its s ...

I can add it to my wishlist, but I'm slow at getting anything done and I've been busy with trying to improve Armbian and building stuff with ESP8266's and such, and I'm going on a holiday with my boyfriend in a couple of weeks, so.. well, don't expect anything to happen for some time. And I'm not promising to do it, I'll only promise to take a look and maybe do it

2

threads

19

posts

110

credits

Registered member

Rank: 2

credits
110
Published in 2016-3-6 05:20:23 from mobile | Show all floors
My programming skills are not sufficient enough for this but i think that it shouldnt be much work. WiringX tries to detect if the hardware is supported so for bananapi there allready is a specials detect file. I think it needs a little adjustment so i hope you have some spare time left somewhere

11

threads

286

posts

1936

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1936
Published in 2016-3-7 20:30:51 | Show all floors
domcat replied at 2016-2-28 20:54
@WereCatf
I recompile the kernel with sysfs interface enabled (loboris distro), disable gpio_sunxi m ...

can you upload kernel and uimage?

2

threads

19

posts

110

credits

Registered member

Rank: 2

credits
110
Published in 2016-3-8 01:28:30 from mobile | Show all floors
why dont you just install armbian

11

threads

286

posts

1936

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1936
Published in 2016-3-8 09:25:20 | Show all floors
lubuntu working 3 time faster

1

threads

15

posts

103

credits

Registered member

Rank: 2

credits
103
Published in 2016-3-14 14:55:01 | Show all floors
@WereCatf

I use your code from post #70.
But I have a problem when it is used.

I run the code once - all works fine. I stop code using Ctrl-C.
When I run the code a second time - it does not work. Do not considers pulses.

he re-works if to make  gpio unexport 16
how to free the PIN in a code?

2

threads

144

posts

1104

credits

Gold member

Rank: 6Rank: 6

credits
1104
Published in 2016-3-14 15:31:11 | Show all floors
StaLeWaR29 replied at 2016-3-14 14:55
@WereCatf

I use your code from post #70.

My OPi PC is dead so I cannot test this, but I just pushed a quick-and-dirty commit to WiringOP that should fix the issue. If you would be so kind as to get the latest WiringOP from https://github.com/WereCatf/WiringOP.git and testing it, then letting me know if works or not?

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list