Answering my question.
Check if the connections are correct first.
simple echo "GPIO out set" should bring it to a high
Vbatt should be about 5volts

On Fri, Apr 3, 2009 at 2:00 PM, Rizal Nor <joey.aka.rizal@gmail.com> wrote:
Hi,

I'm a newbie on working with gumstix and GPIO.
I was wondering if anybody can point me to the right direction.

I have a Verdex Pro with a 24-pin breakout board that let me access
some signal lines and GPIO.
I'm trying to use one of the GPIO lines as a output for a relay switch.
I'm trying to use GPIO(0).

I've tried to set the line to a high.So what i did was..

pxaregs GPLR0_0                           1      #level is 1
pxaregs GPDR0_0                           1     #direction as output

but there is nothing going on the pin on GPIO0, I'm pretty sure im not doing things right here.
In fact, I have no idea what im doing. I'm not sure what level means too.
Hope someone can help me out or point me to the right direction.

Thank you in advance.....for any help....


--
Joey aka. Rizal
Home is where people think of you...




--
Joey aka. Rizal
Home is where people think of you...