ADD HC-12 sensor

This commit is contained in:
2024-06-07 00:10:17 +08:00
parent 0d9424bf2b
commit c0e3e0addd
6 changed files with 19 additions and 4 deletions

View File

@@ -18,6 +18,7 @@
#include "ZC13.hpp"
#include "ZE07CO.hpp"
#include "MHZ14B.hpp"
#include "HC-12.hpp"
#ifndef PICO_DEFAULT_LED_PIN
#warning pio/hello_pio example requires a board with a regular LED
@@ -93,6 +94,8 @@ int main(void)
// 创建队列
xQueue = xQueueCreate(10, sizeof(long));
_HC_12_INIT();
// 创建任务
BaseType_t xReturned;
TaskHandle_t CPU_xHandle = NULL;