diff --git a/docs/en/uiflow/advanced.md b/docs/en/uiflow/advanced.md index c3ebe7dc..313b3619 100644 --- a/docs/en/uiflow/advanced.md +++ b/docs/en/uiflow/advanced.md @@ -554,6 +554,30 @@ Scanning I2C devices > +> + +* __Write mem data reg date type__ +Writes the specified data type to the register address + +* __Write data type__ +Write specified data to bus + +* __Read mem data reg date type__ +Writes the specified data type to the register address + +* __Read data num type__ +Write specified data from bus + +* __In data get index__ +Extract a data from a list + +>Write data to I2C + +> + +>Read date from I2C + +> # Execute diff --git a/docs/image/Advanced module/I2C_02.webp b/docs/image/Advanced module/I2C_02.webp new file mode 100644 index 00000000..9a8aa2d9 Binary files /dev/null and b/docs/image/Advanced module/I2C_02.webp differ diff --git a/docs/image/Advanced module/I2C_Read.webp b/docs/image/Advanced module/I2C_Read.webp new file mode 100644 index 00000000..24a74455 Binary files /dev/null and b/docs/image/Advanced module/I2C_Read.webp differ diff --git a/docs/image/Advanced module/I2C_Write.gif b/docs/image/Advanced module/I2C_Write.gif new file mode 100644 index 00000000..c77647a6 Binary files /dev/null and b/docs/image/Advanced module/I2C_Write.gif differ diff --git a/docs/zh_CN/uiflow/advanced.md b/docs/zh_CN/uiflow/advanced.md index 4f91a8bf..52533bff 100644 --- a/docs/zh_CN/uiflow/advanced.md +++ b/docs/zh_CN/uiflow/advanced.md @@ -603,7 +603,32 @@ wifi重新连接 >从I2C读取数据 -> +> + +> + +* __Write mem data reg date type__ +向寄存器地址写入指定类型的数据 + +* __Write data type__ +向I2C总线写指定类型数据 + +* __Read mem data reg date type__ +从寄存器地址读取指定类型的数据 + +* __Read data num type__ +从I2C总线读取指定类型的数据 + +* __In data get index__ +从返回的数据列表中提取一个数据 + +>向I2C写数据 + +> + +>从I2C读数据 + +> # Execute