doxygen: add examples from examples dir and include one section on Readme.md
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -34,6 +34,7 @@ main(int argc, char **argv)
|
||||
fprintf(stdout, "MAA Version: %s\nStarting Read on IO6\n",
|
||||
maa_get_version());
|
||||
|
||||
//! [Interesting]
|
||||
maa_gpio_context gpio;
|
||||
|
||||
gpio = maa_gpio_init(6);
|
||||
@@ -46,6 +47,7 @@ main(int argc, char **argv)
|
||||
}
|
||||
|
||||
maa_gpio_close(gpio);
|
||||
//! [Interesting]
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user