Hi Markus,

Could you give me a small example of using edge (for rising and falling)?
I have these gpio available:

gpio15   gpio168      gpiochip160  gpiochip64

gpio144  gpio16   gpiochip0    gpiochip192  gpiochip96

gpio145  gpio164  gpiochip128  gpiochip32 


I want to use the gpio145 (I am not using and LCD).

That would be of great help.

Regards


Hi Roque,

You can configure GPIO pins for input or output:
http://gumstix.org/software-development/how-to/250-gpio.html

Additional useful info can be found here:
https://www.kernel.org/doc/Documentation/gpio/sysfs.txt

If you log into your Overo command line, you can see what GPIOs you have 
available by running the command:
ls /sys/class/gpio


By using the "edge" property of sysfs GPIOs, you can use poll(), 
select() or epoll() to efficiently wait for GPIO input events.

The Overo has lots of pins that you can use as GPIOs. The thing is, lots 
of them are assigned to other functions by default. But, you can change 
that by adjusting the pin multiplexing ("pin mux") in the kernel and/or 
U-boot to use them.

Also, if you share more details about your application it would people 
here to provide useful info.

Best wishes
Markus


On 03/18/2014 02:53 PM, Roque Lora wrote:
>
> Good afternoon,
>
> I want to set up a pin of an overo fire as a timer in capture mode but 
> I do not know where to look for this information. I have read a lot of 
> articles and datasheets but it does not work for the distribution that 
> I am using, Linaro (Yocto Project).
>
> Could you help me with this?
>
> Best regards
> -- 
> Roque Lora
> Graduate Research Assistant of Electrical Engineering
> AggieAir Flying Circus (http://aggieair.usu.edu/)
> Utah State University
> Logan, UT, USA
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
>
>
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users


2014-03-18 12:44 GMT-06:00 Roque Lora <roquelora@gmail.com>:
Good afternoon,

I want to set up a pin of an overo fire as a timer in capture mode but I do not know where to look for this information. I have read a lot of articles and datasheets but it does not work for the distribution that I am using, Linaro (Yocto Project).

Could you help me with this?

Best regards

--
Roque Lora
Graduate Research Assistant of Electrical Engineering
AggieAir Flying Circus (http://aggieair.usu.edu/)
Utah State University
Logan, UT, USA



--
Roque Lora
Graduate Research Assistant of Electrical Engineering
AggieAir Flying Circus (http://aggieair.usu.edu/)
Utah State University
Logan, UT, USA