# hardware_code **Repository Path**: lozenyin/hardware_code ## Basic Information - **Project Name**: hardware_code - **Description**: 收录工作项目中的硬件代码 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-12-29 - **Last Updated**: 2024-05-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 简介 T6底层低速设备操作脚本 打包命令 ```bash tar -czvf "hardware_V1.0.1_$(date +%Y%m%d%H%M%S).tar.gz" * ``` ## 版本记录 V1.0.1 :添加了说明文件 ## 目录文件说明 ```bash . |-- External_watchdog.sh # 外置看门狗模块的喂狗脚本(开机自启) |-- gpio_model.py # GPIO操作库(Python版) |-- gpio_model.sh # GPIO操作库(shell版) |-- hardware_rclocal.sh # 硬件自启汇总脚本,需要在rc.local中添加,后续需要修改比较方便 |-- linux_ec20_use # 4G莫夸操作库目录 | |-- mode_4g.py # 4G模块操作库 | `-- test_mode_4g.py # 4G模块操作例程 |-- log # 存放调试日志的路径 |-- open_IPC.sh # 开启摄像头电源 |-- open_switchboard.sh # 开启交换机电源 |-- readme.md # 说明文件 |-- res_IPC.sh # 重启摄像头 |-- res_opizero2.sh # 重启OPIzero2脚本 |-- res_switchboard.sh # 重启交换机脚本 |-- sound_level_meter # 声级计代码目录 | |-- hy108c_modbus.py # hy108c声级计modbus协议操作库 | `-- hy108c_single_data.py # hy108c声级计单一数据格式例程 |-- stop_opizero2.sh # 关闭OPIzero2电源 |-- test_15.sh # 循环获取断电状态(0为正常,1为掉电) `-- test_led.sh # 测试led电源 ```