summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/pyb.Accel.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/pyb.Accel.rst')
-rw-r--r--docs/library/pyb.Accel.rst12
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/library/pyb.Accel.rst b/docs/library/pyb.Accel.rst
index fd96ec35f9..2ae357fe70 100644
--- a/docs/library/pyb.Accel.rst
+++ b/docs/library/pyb.Accel.rst
@@ -1,3 +1,5 @@
+.. currentmodule:: pyb
+
class Accel -- accelerometer control
====================================
@@ -20,7 +22,7 @@ Constructors
Methods
-------
-.. method:: accel.filtered_xyz()
+.. method:: Accel.filtered_xyz()
Get a 3-tuple of filtered x, y and z values.
@@ -29,18 +31,18 @@ Methods
with the sample from the current call. Returned values are therefore 4
times the size of what they would be from the raw x(), y() and z() calls.
-.. method:: accel.tilt()
+.. method:: Accel.tilt()
Get the tilt register.
-.. method:: accel.x()
+.. method:: Accel.x()
Get the x-axis value.
-.. method:: accel.y()
+.. method:: Accel.y()
Get the y-axis value.
-.. method:: accel.z()
+.. method:: Accel.z()
Get the z-axis value.