In all cases, the led does not light.
If I put a vcc -> led -> gpio
and try to manipulate the gpio nothing happens.

Im using the echo set command.

Maybe my kernel has a bug?


On Wed, 2006-08-16 at 07:02 -0700, Dave Hylands wrote:
Hi Daniel,

>   vcc
>    |
>    |
>    3.3k
>    |
>    +------------LED------
>    |                              |
>    |                             GND
>   GPIO0


You method of connecting the LED is very unconventional, and I'm not
sure it will work.

The conventional method is that you connect things up something like this:

GPIO -------- resistor -------- LED --------- Ground

or like this

GPIO -------- resistor -------- LED --------- Vcc

The order of the resistor and LED isn't relevant, but the polarity of
the LED is. In the first case, the LED will light when the GPIO line
is high, and in the second case, the LED will light when the GPIO line
is low.