summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-08-05 13:45:28 +0200
committerDaniel Campora <daniel@wipy.io>2015-08-09 19:22:14 +0200
commitd43019163dd1d8c09b6f1d2280d7a5801044b590 (patch)
tree7ca9daf0abfe9f83a0a5f6e3de3fde38f79921ed /docs/library
parent00c4d6562ec2dbb494e9c26dce86f99f95a82d70 (diff)
downloadmicropython-d43019163dd1d8c09b6f1d2280d7a5801044b590.tar.gz
micropython-d43019163dd1d8c09b6f1d2280d7a5801044b590.zip
docs: Add i2c keywork arguments only indication.
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/pyb.I2C.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/library/pyb.I2C.rst b/docs/library/pyb.I2C.rst
index 7c22a700b9..034106216b 100644
--- a/docs/library/pyb.I2C.rst
+++ b/docs/library/pyb.I2C.rst
@@ -125,7 +125,7 @@ Methods
Check if an I2C device responds to the given address. Only valid when in master mode.
-.. method:: i2c.mem_read(data, addr, memaddr, timeout=5000, addr_size=8)
+.. method:: i2c.mem_read(data, addr, memaddr, \*, timeout=5000, addr_size=8)
Read from the memory of an I2C device:
@@ -138,7 +138,7 @@ Methods
Returns the read data.
This is only valid in master mode.
-.. method:: i2c.mem_write(data, addr, memaddr, timeout=5000, addr_size=8)
+.. method:: i2c.mem_write(data, addr, memaddr, \*, timeout=5000, addr_size=8)
Write to the memory of an I2C device:
@@ -151,7 +151,7 @@ Methods
Returns ``None``.
This is only valid in master mode.
-.. method:: i2c.recv(recv, addr=0x00, timeout=5000)
+.. method:: i2c.recv(recv, addr=0x00, \*, timeout=5000)
Receive data on the bus:
@@ -168,7 +168,7 @@ Methods
Scan all I2C addresses from 0x01 to 0x7f and return a list of those that respond.
Only valid when in master mode.
-.. method:: i2c.send(send, addr=0x00, timeout=5000)
+.. method:: i2c.send(send, addr=0x00, \*, timeout=5000)
Send data on the bus: