[quote="Zardoz"]Ohh thank you. Very useful.
From python I set (input/output) mode and (True/False) state.
High/Low?
True = High = 3.3 volts.
False = Low = O volts = Gnd
(Actually it is a range of voltage, but I will not complicate the issue).
What does it mean then ALT0?
Each GPIO has its basic function (
usually input/output) or can be set to its alternate function. I use a C library that has a call to set the GPIO's function. I don't anything about Python, but if you are using a library, I would think it would have that capability. See the chart here for the Alt functions:
http://elinux.org/RPi_BCM2835_GPIOs
Basic GPIO information here:
http://elinux.org/RPi_Low-level_peripherals
Not suggesting that you don't ask questions, but all this information and a lot more is easily found by googling this forum and the web; that's how I learned how to use the GPIO. For various reasons they removed the main link to the raspberry pi technical information, but I read everything on the elinux pages before I bought my pi and it saved me a ton of grief. Here is the front page:
http://elinux.org/RPi_Hub