1313
1414**Hardware:**
1515
16- * `Adafruit BNO08x Breakout <https:www.adafruit.com/products/4754>`_
16+ * `Adafruit 9-DOF Orientation IMU Fusion Breakout - BNO085 (BNO080)
17+ <https://www.adafruit.com/product/4754>`_ (Product ID: 4754)
18+
1719
1820**Software and Dependencies:**
1921
2022* Adafruit CircuitPython firmware for the supported boards:
21- https://github.com/adafruit/circuitpython/releases
23+ https://circuitpython.org/downloads
2224
2325"""
2426import time
@@ -33,7 +35,38 @@ class RVCReadTimeoutError(Exception):
3335
3436
3537class BNO08x_RVC :
36- """A simple class for reading heading from the BNO08x IMUs using the UART-RVC mode"""
38+ """A simple class for reading heading from the BNO08x IMUs using the UART-RVC mode
39+
40+ :param uart: The UART device the BNO08x_RVC is connected to.
41+ :param float timeout: time to wait for readings. Defaults to :const:`1.0`
42+
43+
44+ **Quickstart: Importing and using the device**
45+
46+ Here is an example of using the :class:`BNO08X_UART` class.
47+ First you will need to import the libraries to use the sensor
48+
49+ .. code-block:: python
50+
51+ import board
52+ import busio
53+ from adafruit_bno08x_rvc import BNO08x_RVC
54+
55+ Once this is done you can define your `busio.UART` object and define your sensor object
56+
57+ .. code-block:: python
58+
59+ uart = busio.UART(board.TX, board.RX, baudrate=3000000, receiver_buffer_size=2048)
60+ rvc = BNO08X_UART(uart)
61+
62+
63+ Now you have access to the :attr:`heading` attribute
64+
65+ .. code-block:: python
66+
67+ yaw, pitch, roll, x_accel, y_accel, z_accel = rvc.heading
68+
69+ """
3770
3871 def __init__ (self , uart , timeout = 1.0 ):
3972 self ._uart = uart
0 commit comments