From c58f8fc96fa35768c845bf19d0ea8cb02121a6bc Mon Sep 17 00:00:00 2001 From: leimingsheng Date: Wed, 27 Nov 2024 14:20:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(script=20:=20nicsensor.sh)=20code=5Fstruct?= =?UTF-8?q?ure=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 02.nicsensor/code_structure.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/02.nicsensor/code_structure.txt b/02.nicsensor/code_structure.txt index 2e4cc2a..3e9daf7 100644 --- a/02.nicsensor/code_structure.txt +++ b/02.nicsensor/code_structure.txt @@ -1,10 +1,10 @@ On Version V1.2 - start_get_sensor + start_get_sensor //启动读取Sensor的流程 |--->set_configuration - | |--->set_configuration_5280m7/5468m7/donghu/yichun - |--->get_pca9641_controll - |--->switch_pca9548_channel + | |--->set_configuration_5280m7/5468m7/donghu/yichun //根据服务器类型设置具体I2C相关参数 + |--->get_pca9641_controll //如果服务器上有PCA9641,选通它 + |--->switch_pca9548_channel //切换9548/9546到对应的槽位上 |--->process_sensor - |--->sensor_init - |--->read_sensor_value - |--->convert_sensor_value \ No newline at end of file + |--->sensor_init //传感器可能需要初始化 + |--->read_sensor_value //读取传感器的数值 + |--->convert_sensor_value //处理传感器的读值并做可视化处理 \ No newline at end of file