Re: how to read GPIO values from command line?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Thu, 9 Feb 2012 11:34:55 -0500 (EST),
"Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx> a écrit :
>   so what exactly does one do to read those values?  i tried:
> 
> barebox@Texas Instrument's Beagle:/ gpio_direction_input 171
> barebox@Texas Instrument's Beagle:/ gpio_get_value 171
> 
> but what do i check?  the shell variable $?  i'm not sure what i
> should do next.
> 
you can check the mux of the pins to be sure they are in GPIO mode.

Eric
-- 
http://eukrea.com/en/news/104-2012

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux