Brendan Le Foll
ffcf3d7d07
clang-format: run clang-format on C/C++ code
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-03-23 15:15:48 +00:00
Michael Ring
8b0b9f1a79
examples/gpio: Re-implemented the display of pin names
...
Re-introduced AIO Pins
Signed-off-by: Michael Ring <mail@michael-ring.org >
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-03-19 00:19:50 +00:00
Michael Ring
244879697f
examples/gpio.c Added support for mmap access to gpio
...
Signed-off-by: Michael Ring <mail@michael-ring.org >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-02-15 21:13:20 +00:00
Michael Ring
a4431e7a3e
examples/gpio.c Added whitespace to better align gpio list output
...
Signed-off-by: Michael Ring <mail@michael-ring.org >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-02-15 21:13:20 +00:00
Brendan Le Foll
818e1a86de
examples/gpio.c: Fix some formatting & code style
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-02-10 16:16:30 +00:00
Brendan Le Foll
b32507064d
examples/gpio.c: fix getchar() not working in ssh term
...
This is obviously not a nice way to do input handling but it avoids having more
code in the samples than is really needed
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-02-10 15:50:59 +00:00
Henry Bruce
403424e4c0
examples/gpio.c: Added command to monitor pin level changes using ISR
...
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-02-10 15:41:37 +00:00
Thomas Ingleby
94dd44a2d3
example/gpio.c: Remove extern to plat
...
Use exposed api functions to get board information.
Added version option for version and name
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-01-21 16:24:21 +00:00
Brendan Le Foll
ade49a82b3
examples: use mraa_get_platform_name API in examples
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-11-27 09:38:06 +00:00
Henry Bruce
27f22d077b
gpio.c: Added gpio list/set/get utility
...
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-11-21 20:06:37 +00:00