Questions tagged [wiringpi]

Question regarding Wiring Pi - a GPIO Interface library for the Raspberry Pi

Wiring Pi - a GPIO Interface library for the Raspberry Pi

WiringPi is a PIN based GPIO access library written in C for the BCM2835, BCM2836 and BCM2837 SoC devices used in all Raspberry Pi. versions. It’s released under the GNU LGPLv3 license

Site: http://wiringpi.com/

Reference: http://wiringpi.com/reference/

Download: http://wiringpi.com/download-and-install/

Github: https://github.com/WiringPi/WiringPi

145 questions
0
votes
0 answers

Cant clone the wiring Pi repository by Egit

I'm trying to build the cross compiling environment for Raspberry Pi. I need GPIO liblary named 'wiring Pi', so I tried to clone from its repository using Egit on Eclipse(MARS). Wirring Pi repository is here: git://git.drogon.net/wiringPi The…
hiroaki
  • 105
  • 1
  • 8
0
votes
1 answer

WiringPi gpio called by system() must use another process?

According to this, I'm using the system() (QProcess) function from inside my program to call the gpio program. It works. But I've noticed I need to run my app two times, in fact it only works at the second time. It seems the call to gpio must be…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
0
votes
2 answers

SPI communication between Arduino Uno and Raspberry Pi using wiringPi

I have been trying to implement with no success a SPI communication between a Raspberry Pi 2 B+ (master) to a Arduino Uno Rev3 (slave) to no success. I used the tutorial:http://mitchtech.net/raspberry-pi-arduino-spi/ However, the codes offered there…
Fred
  • 417
  • 6
  • 14
0
votes
0 answers

Crosstool-ng and dynamic libraries

How do I use a custom dynamic library (wiringPi in my case) with a ARMv6 C++ compiler that was created with crosstool-ng? I built wiringPi then added -lwiringPi to the linker options, and this works fine using g++ but does not when using the new…
Shinagan
  • 435
  • 3
  • 15
0
votes
1 answer

C wiringPi wait until function is completed

I'm not a C developer but i need to write simple program and i have problems with delay. Here is my program: #include #include #include #include #include #include int main (int…
Footniko
  • 2,682
  • 2
  • 27
  • 36
-1
votes
1 answer

Segmentation fault with wiringPi

I'm fairly new to coding, and I've been trying to write something to write a placeholder to a text document whenever a button attached to a GPIO pin on my RasPi is pressed: //Write date function// void record() { ofstream myFile; …
Merk
  • 1
  • 3
-1
votes
2 answers

Is there any better option that PI4J to write/read from UART in raspbian?

i'm looking for a better way for UART I/O in my raspberryPI in the linux side where i'm using Java. now i'm using PI4J (wiringPI) but i'm facing few problems, i noticed many missing messages. Also it's limited to 57600 baud rate and i wish to use…
Rami Khawaly
  • 126
  • 3
  • 14
-1
votes
1 answer

piThreadCreate error after call function

I receive an error after the call TerminalFrame::start();. What I doing wrong? TerminalMain.cpp|223|error: cannot call member function ‘int TerminalFrame::start()’ without object| void…
-2
votes
2 answers

How to clone wiringPi after git.drogon.net got inaccesible

How do I get the source code for the wiringPi library now that Gordon has pulled git.drogon.net? I would like to pull the source using git but other options are possible.
TomTH
  • 19
  • 1
  • 1
  • 2
-3
votes
1 answer

Undefined Reference when compiling with cmake

I am working on a project using OpenCV and cmake (both of which I'm new to) and keep getting an undefined reference to functions that are located in external folders. This is for a Raspberry Pi using a command line interface. My CMakeLists.txt file…
K.D.
  • 1
  • 3
1 2 3
9
10