Hello Guy's,
I have received my pi recently, I want to use the in built driver of the I2C and GPIO.
Can someone help me find how can I use drivers using C program, or is there any documentation on this drivers or the source code path of the same may also be helpful.
I am willing to interface a touch screen using the same.
Regards
Suman
-
- Posts: 20
- Joined: Mon Oct 08, 2012 5:14 am
- Location: Bangalore, India
Driver details for I2C,SPI and GPIO on Raspbian
Thanks & Regards
Sumanth
Sumanth
Re: Driver details for I2C,SPI and GPIO on Raspbian
Hi,
Some pointers to start with :
I2C Installation for Raspberry Pi – Step by Step Guide
http://www.skpang.co.uk/blog/archives/575
and
Raspberry Pi Examples
http://www.robot-electronics.co.uk/htm/ ... amples.htm
Some pointers to start with :
I2C Installation for Raspberry Pi – Step by Step Guide
http://www.skpang.co.uk/blog/archives/575
and
Raspberry Pi Examples
http://www.robot-electronics.co.uk/htm/ ... amples.htm
http://www.raspberrypi-dmx.org/
Open Source DMX/RDM/MIDI/OSC/Art-Net/sACN solutions
Open Source DMX/RDM/MIDI/OSC/Art-Net/sACN solutions
-
- Posts: 4
- Joined: Mon Oct 15, 2012 8:30 am
Re: Driver details for I2C,SPI and GPIO on Raspbian
Hello Joan,
thx for your quick response. But all examples are showing how to access the I2C bus with python or C.
I search for a way that allows the access with ruby on rails.
regards
michael
thx for your quick response. But all examples are showing how to access the I2C bus with python or C.
I search for a way that allows the access with ruby on rails.
regards
michael
Re: Driver details for I2C,SPI and GPIO on Raspbian
I know nothing of Ruby. Can't you open/read/write/close files in Ruby? If you can then use the same methods to open/read/write/close the I2C file. If Ruby can't work with files then I'd suggest you use a different programming language.