添加 JW01 传感器支持,包含初始化和数据读取功能,判断CO2值来判断实物状态。1000为初始阈值

This commit is contained in:
Wang Beihong
2026-04-21 01:47:39 +08:00
parent f0d8b7fe6e
commit cdc35d323a
5 changed files with 274 additions and 8 deletions

View File

@@ -0,0 +1,3 @@
idf_component_register(SRCS "JW01.c"
INCLUDE_DIRS "include"
REQUIRES esp_driver_uart)