Changes

User:Pau pajuelo

506 bytes added, 18:22, 14 September 2012
m
How to use GPIOs (update it)
At any point, if you see a mistake you can contribute to this How-To.
 
== Requirements ==
 
For this How-to, i used:
* IGEPv2 Board
* GPIO example
 
== Example program ==
 
Example program contains some libraries to control GPIOs, libraries can do:
* Export and unexport GPIOs
* Set GPIO direction
* Set GPIO value
* Get GPIO value
* Configure hardware interrupts
 
Example program configures a GPIO to wait a hardware interrupt. Once the GPIO value change from 0 to 1 (rising), program give you a message. This program needs a GPIO peripheral parameter, for example GPIO 157.
4,199
edits