I've started writing some of the Gertboard test programs in Python 2.7
I've tried hard to duplicate the user experience as closely as possible to the original. The aim is that the user wouldn't be able to tell whether they're running the Python or C versions just by looking at what the Gertboard or screen are doing.
So far I've managed to get a pretty good version of the leds program (using wiringpi) and a workable version of the motor program (using RPi.GPIO and software PWM).
I've written a blog article and posted a couple of Youtube videos of the programs in action compared to the original Gertboard test suite equivalents.
http://raspi.tv/2012/gertboard-software ... s-programs
The software itself can be downloaded from...
http://raspi.tv/wp-content/uploads/2012 ... Python.zip
I've started this thread, both to announce this and also to enlist support from others who might be interested in helping out. I'm not a very experienced Python programmer, so it may be that I won't be able to do all the programs in the suite. Perhaps others will be able to do the parts that I can't, or don't have time for? Or maybe people might have constructive input on how the programs can be improved? Don't just tell me it's broken - show me how to fix it
The motor program works well for me on the August Raspbian but is a bit stuttery on September Raspbian. (This may have something to do with timing changing in CPU turbo mode, or may just be due to overclock settings.)
Suggested further avenues of exploration...
It would probably be good to have versions of all the test suite programs using both RPi.GPIO and wiringpi for python. RPi.GPIO doesn't yet support hardware PWM and I'm not sure whether wiringpi for python does yet either. It would be good to get the motor program running with hardware PWM.
There's still plenty of programs to work on, so dive in and have a go. Let's have some fun and learn together.