Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: ken staton <ken.staton@gm...> - 2006-11-23 05:14:00
On 11/22/06, Warren Jackson <wj@...> wrote:
> Sorry if this is a newbie question, but what is the best way to access the
> GPIO in Python?
> Do I have to write the basics in C and then cType or SWIG that into python?
depends on how fast you want to access the gpio.
you could write a driver and access the driver from c that is wrapped with SWIG.
or you could us os.system:
os.system('echo "GPIO out set" > /proc/gpio/GPIO66')