docs/library/pyb.Accel: Add hardware note about pins used by accel.

This commit is contained in:
Peter Hinch 2016-11-08 07:14:56 +00:00 committed by Damien George
parent ec22d1739d
commit 46e59c52af
1 changed files with 8 additions and 0 deletions

View File

@ -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.