4 Here are some examples of how to use pymaa, common convention is to import pymaa as maa to keep it short but feel free to import it globally!
9 Here is the simplest Gpio program in pymaa.
11 .. literalinclude:: ../../../examples/python/hello_gpio.py
12 :prepend: import pymaa
13 :start-after: import pymaa
18 The GPIO module allows you to set an interupt on a GPIO. This interupt is controlled by the mode that the 'edge' is in.
20 **Note:** Galileo Gen1 only supports EDGE_BOTH
22 .. literalinclude:: ../../../examples/python/hello_isr.py
23 :prepend: import pymaa as maa
24 :start-after: import pymaa as maa