Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: linga51

GPIO library - WiringPi

[Copy link]

0

Threads

6

Posts

114

Credits

Registered member

Rank: 2

Credits
114
Post time 2016-2-28 20:54:10 | Show all posts
@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
Post time 2016-3-2 05:42:42 | Show all posts
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 the Code

2

Threads

19

Posts

110

Credits

Registered member

Rank: 2

Credits
110
Post time 2016-3-6 00:30:53 | Show all posts
@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

903

Credits

Senior member

Rank: 4

Credits
903
Post time 2016-3-6 03:50:54 | Show all posts
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
Post time 2016-3-6 05:20:23 From the mobile phone | Show all posts
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

1877

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1877
Post time 2016-3-7 20:30:51 | Show all posts
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
Post time 2016-3-8 01:28:30 From the mobile phone | Show all posts
why dont you just install armbian

11

Threads

286

Posts

1877

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1877
Post time 2016-3-8 09:25:20 | Show all posts
lubuntu working 3 time faster

1

Threads

15

Posts

103

Credits

Registered member

Rank: 2

Credits
103
Post time 2016-3-14 14:55:01 | Show all posts
@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

903

Credits

Senior member

Rank: 4

Credits
903
Post time 2016-3-14 15:31:11 | Show all posts
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 have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2020-9-22 09:55 GMT+8 , Processed in 0.033015 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list