I would be happy if you give me a advice or show me the sample code. One year before, I wrote a luminosity sensor application on my RPi model B in Ruby. Thanks to the this library I could make app ...
Hello I want to use 2 servo with different gpio pins. But Raspberry has one hardware pwm (GPIO 18). first of all I tried another pin to run servo and my code: wiringpi.pinMode(18,2) ...
I am a beginner in DIY electronics, and I am attempting to control a 12V Solenoid valve from a Pi B2 connected to a 12V Battery and WiringPi Pin 1. I am using a 1kOhm Resistor between the gpio pin ...
Has anybody used Infinity cascade IO expand module for Raspberry PI? Like the one described here http://www.bananapi.com/index.php/purchase/2-uncategorised/36-banana-pi-io-extend-board, but only red. ...
As I understand it, the mode of a GPIO pin can be INPUT or OUTPUT (and I think there may be other modes such as PWM and I2C). I believe that the mode of a pin is a global and that if two applications ...
The Wii nunchuck is an I2C accessible device and can be wired to the I2C pins of a Pi. How do I read the data from a Wii nunchuck in C using the WiringPi library?