which pin now you are using......

On Tuesday, April 14, 2015 at 8:10:13 PM UTC+5:30, Erkan Güzeler wrote:
>
> Hi everyone,
> I'm using BBxM Rev C2 board and trying to read GPIO_159 that is in 
> expansion header. I successfully used it as output(Turn On LED and TURN OFF 
> LED). But I can't read anything on this port. 
>
> I used this steps;
>
>    cd /sys/class/gpio/
>    echo 159 > export 
>    cd /sys/class/gpio/gpio159
>    echo "in" > direction 
>    cat value   // this always response me "0" zero. 
>
>    I'm normally using pull up button so that it has high level when it's 
> not pressed. But I always take "0" value when I write "cat value" command 
> on terminal.
>
> Has anybody idea?
>
> Best Regards. 
>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to