mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
Add stop option to i2c.readfrom
@@ -180,7 +180,7 @@ Master mode:
|
||||
|
||||
Master mode transfers:
|
||||
|
||||
- `i2c.readfrom(addr, nbytes)`
|
||||
- `i2c.readfrom(addr, nbytes, *, stop=True)`
|
||||
- `i2c.readfrom_into(addr, buf, *, stop=True)` NOHEAP; stop is if we want to send a stop bit at the end
|
||||
- `i2c.writeto(addr, buf, *, stop=True)` NOHEAP; stop is if we want to send a stop bit at the end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user