-   Linux - Embedded & Single-board computer (
-   -   Accessing I/O in Raspberry Pi (

Completely Clueless 01-18-2013 03:13 PM

Accessing I/O in Raspberry Pi
HI all,

So I've got my Pi and have loaded it up with the cut-down version of Arch with no gui; just a command line.

I want to use this Pi as a controller for a programmable time delay lock which will open at certain pre-determined times.

I'd prefer to do this in C rather than Bash on balance, being very much more familiar with the former. Problem is, I've only ever written utilities that read and write to and from files, the keyboard and the screen. Now I have to somehow access the GPIO pins of the Pi and have no idea how to go about it.

Can anyone tell me how these pins can be brought into service in C or Bash? Do I need to install any additional software for their support? There seems to be a distinct dearth of info on the subject, so any pointers/advice would be very welcome.



michaelk 01-19-2013 10:28 AM

Here you go...

Completely Clueless 01-19-2013 01:08 PM


Originally Posted by michaelk (Post 4873532)

Ah! Just what I needed; many thanks...

All times are GMT -5. The time now is 08:09 AM.