/ docs / examples.rst
examples.rst
 1  Simple test
 2  ------------
 3  
 4  Ensure your device works with this simple test.
 5  
 6  .. literalinclude:: ../examples/mpu6050_simpletest.py
 7      :caption: examples/mpu6050_simpletest.py
 8      :linenos:
 9  
10  Plotter Example
11  ---------------
12  
13  See the effects of changing the gyroscope and accelerometer range
14  by viewing the data in a serial plotter
15  
16  .. literalinclude:: ../examples/mpu6050_plotter_example.py
17      :caption: examples/mpu6050_plotter_example.py
18      :linenos:
19  
20  Sleep Example
21  ---------------
22  
23  Observe how the cycle and sleep modes effect measurements 
24  by viewing the data in a serial plotter
25  
26  .. literalinclude:: ../examples/mpu6050_sleep_example.py
27      :caption: examples/mpu6050_sleep_example.py
28      :linenos: