I have written a simple GPIO class to allow easy access of the 17 GPIO pins exposed on the Raspi. So far, setting a pin high or low works and I also have software PWM working on any pin too.
A couple of issues I want to sort out before I throw this online for those that might find it useful.
I can't figure out how to read a GPIO pin yet, any clues please. I'm hitting the hardware not using the Kernel interface.
And my PWM is based on the nanosleep timer... unfortunately this is only stable to about 10us, so it fine for speed control and LED brightness... but does make servos a bit twitchy... do we have any realtime timers Linux?