mirror of
https://git.aixiao.me/aixiao/Danger-alarm.git
synced 2025-07-29 19:13:39 +08:00
ADD HC-12 sensor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user