summaryrefslogtreecommitdiff
path: root/docs/rp2/quickref.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/rp2/quickref.rst')
-rw-r--r--docs/rp2/quickref.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/rp2/quickref.rst b/docs/rp2/quickref.rst
index 4c8c02dc0..c18eb4a0b 100644
--- a/docs/rp2/quickref.rst
+++ b/docs/rp2/quickref.rst
@@ -181,7 +181,7 @@ accessed via the :ref:`machine.SoftI2C <machine.SoftI2C>` class::
i2c.writeto(0x3a, '12') # write '12' to device with address 0x3a
buf = bytearray(10) # create a buffer with 10 bytes
- i2c.writeto(0x3a, buf) # write the given buffer to the slave
+ i2c.writeto(0x3a, buf) # write the given buffer to the peripheral
Hardware I2C bus
----------------