summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/pyb.Accel.rst
diff options
context:
space:
mode:
authorPeter Hinch <peter@hinch.me.uk>2016-11-08 07:14:56 +0000
committerDamien George <damien.p.george@gmail.com>2016-12-02 17:39:13 +1100
commit46e59c52afe60d1c345df62158b2e5b6c64e9146 (patch)
treed9f0b188b2ed8e64bafbcaeb3724d4f7e2c90148 /docs/library/pyb.Accel.rst
parentec22d1739d256908f94f8c2c61a31b391f454fcf (diff)
downloadmicropython-46e59c52afe60d1c345df62158b2e5b6c64e9146.tar.gz
micropython-46e59c52afe60d1c345df62158b2e5b6c64e9146.zip
docs/library/pyb.Accel: Add hardware note about pins used by accel.
Diffstat (limited to 'docs/library/pyb.Accel.rst')
-rw-r--r--docs/library/pyb.Accel.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/library/pyb.Accel.rst b/docs/library/pyb.Accel.rst
index 2ae357fe70..061996485f 100644
--- a/docs/library/pyb.Accel.rst
+++ b/docs/library/pyb.Accel.rst
@@ -46,3 +46,11 @@ Methods
.. method:: Accel.z()
Get the z-axis value.
+
+Hardware Note
+-------------
+
+The accelerometer uses I2C bus 1 to communicate with the processor. Consequently
+when readings are being taken pins X9 and X10 should be unused (other than for
+I2C). Other devices using those pins, and which therefore cannot be used
+concurrently, are UART 1 and Timer 4 channels 1 and 2.