Skip to content

Commit d0817e6

Browse files
Felix Ye(叶剑)Felix Ye(叶剑)
authored andcommitted
update i2c
1 parent 6af7981 commit d0817e6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

en-us/api/QuecPythonClasslib.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6405,7 +6405,7 @@ Class function: A two-wire protocol used for communication between devices.
64056405

64066406
| Parameter | Type | Description |
64076407
| --------- | ---- | ------------------------------------------------------------ |
6408-
| I2Cn | int | I2C channel index number:<br />I2C.I2C0 : 0 <br />I2C.I2C0 : 1 |
6408+
| I2Cn | int | I2C channel index number:<br />I2C.I2C0 : 0 <br />I2C.I2C1 : 1 |
64096409
| MODE | int | I2C working mode:<br />I2C.STANDARD_MODE : 0 Standard mode<br />I2C.FAST_MODE1 Fast mode |
64106410

64116411
- Pin Correspondence
@@ -12376,4 +12376,3 @@ if __name__ == '__main__':
1237612376

1237712377
```
1237812378

12379-

zh-cn/api/QuecPythonClasslib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6442,7 +6442,7 @@ rtc.enable_alarm(1)
64426442

64436443
| 参数 | 类型 | 说明 |
64446444
| ---- | ---- | ------------------------------------------------------------ |
6445-
| I2Cn | int | i2c 通路索引号:<br />I2C.I2C0 : 0 <br />I2C.I2C0 : 1 |
6445+
| I2Cn | int | i2c 通路索引号:<br />I2C.I2C0 : 0 <br />I2C.I2C1 : 1 |
64466446
| MODE | int | i2c 的工作模式:<br />I2C.STANDARD_MODE : 0 标准模式<br />I2C.FAST_MODE1 快速模式 |
64476447

64486448
- 引脚对应关系

0 commit comments

Comments
 (0)