i2c bus, including a number of overloaded read() calls and the writeReg()
helper function.
-.. literalinclude:: ../../../examples/python/i2c_HMC5883.py
- :prepend: x = mraa.I2c(0)
- :start-after: x = mraa.I2c(0)
+.. literalinclude:: ../../../examples/python/bmp85.py
+ :prepend: x = m.I2c(0)
+ :start-after: x = m.I2c(0)
.. literalinclude:: ../../../docs/i2c.txt
contain the root `toctree` directive.
Welcome to mraa's documentation!
-=============================
+================================
-Contents:
+.. include:: ../../../docs/index.md
+ :start-after: ==============
+ :end-before: ## API
.. toctree::
:maxdepth: 2
mraa
example
+Supported Platforms
+===================
+
+ * `Galileo Gen 1 - Rev D <../galileorevd.html>`_
+ * `Galileo Gen 2 - Rev H <../galileorevh.html>`_
+ * `Intel Edison <../edison.html>`_
+ * `Intel(R) NUC DE3815tykhe <../de3815.html>`_
+ * `Intel(R) Minnowboard Max <../minnowmax.html>`_
+ * `Raspberry Pi <../rasspi.html>`_
+
+Compiling & Debugging libmraa
+=============================
+
+Libmraa is a C library and SWIG is used to generate bindings therefore to
+debug, you very quickly need to use the same methods as you would for debugging
+a C library. Generally attaching gdb to python works well, build mraa with
+debug symbols and set breakpoints either in the SWIG _wrap functions, the C++
+method/functions or the underlying C function. More info can be found on the
+C/C++ documentation:
+ * `Debugging <../debugging.html>`_
+ * `Building from source <../building.html>`_
+
+API Changelog
+=============
+.. include:: ../../../docs/index.md
+ :start-after: API Changelog
Indices and tables
==================
-mraa module
-============
+###
+API
+###
-.. automodule:: mraa
+Aio
+===
+.. autoclass:: mraa.Aio
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+I2c
+===
+.. autoclass:: mraa.I2c
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Gpio
+====
+.. autoclass:: mraa.Gpio
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Pwm
+===
+.. autoclass:: mraa.Pwm
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Spi
+===
+.. autoclass:: mraa.Spi
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
+Uart
+====
+.. autoclass:: mraa.Uart
:members:
:undoc-members:
:show-inheritance:
+
+Common
+======
+
+.. automodule:: mraa
+ :members:
+ :exclude-members: Gpio, Aio, Uart, Spi, I2c, Pwm, uint8Array, uint8Array_frompointer