Re: GPIO Support on pcm043

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

 



Hi Tim,

On Fri, May 20, 2011 at 02:07:08PM +0200, Tim Sander wrote:
> Hi
> 
> I just tried (for i in `seq 0 96`)
> gpio_set_direction $i 1
> and 
> gpio_set_direction $i 0

I suppose the actual command you used is gpio_direction_output, right?
there is no gpio_set_direction command.

I just checked that as of latest master the LED on the baseboard
connected to gpio2_6 works with:

gpio_direction_output 38 0
gpio_direction_output 38 1

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
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