Morning Jaime,
Nice digging - well done.
As I don't read C I admit to being somewhat at sea with the possibilities of the object so really good to hear someone else is rooting around in this.
I did manage to get access to the GPIO pins making use of the messages that Charles mentioned:
sudo bash
echo "1" >
/sys/class/gpio/export
echo out >
/sys/class/gpio/gpio1/direction
chown pi
/sys/class/gpio/gpio1/value
But really good to just do it from within Pd - how'd you get round the sudo-thing?
Not sure what it is you're doing project-wise with the GPIO pins but I've spent a couple of weeks digging through the somewhat endless bits and pieces of documentation on the web so perhaps I could be of assistance with some pointers on that front?
Most of the info/code is Python-based and there's plenty of it (I'm also a complete noob re Python as well!)
Miller and Charles were certainly on the right track with WiringPi as I would say it's easily the most referenced library.
.
My own interest is with getting a fairly recent i2c thermal imaging sensor going (see other thread) and Martin Peach is giving us some invaluable help with that but it would be my ideal scenario to be able to control, manage and filter the sensors data from within Pd (once we get the thing going!).