From a113fefbbe30aee8b256a3d9f4187ea9a9334aec Mon Sep 17 00:00:00 2001 From: yelvlab Date: Thu, 26 Sep 2024 10:09:05 +0800 Subject: [PATCH] add MLX90614 LIB --- CMakeLists.txt | 1 + inc/mlx90614.h | 8 ++++++++ src/mlx90614.c | 5 +++++ 3 files changed, 14 insertions(+) create mode 100644 inc/mlx90614.h create mode 100644 src/mlx90614.c diff --git a/CMakeLists.txt b/CMakeLists.txt index c913a6c..ce84bb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,7 @@ set(TARGET_C_SRC ${CMAKE_SOURCE_DIR}/src/gd32e23x_it.c ${CMAKE_SOURCE_DIR}/src/systick.c ${CMAKE_SOURCE_DIR}/src/ultrasonic_driver.c + ${CMAKE_SOURCE_DIR}/src/mlx90614.c ) add_executable(xlsw_3dp_ultrasonic_300K ${TARGET_C_SRC}) diff --git a/inc/mlx90614.h b/inc/mlx90614.h new file mode 100644 index 0000000..8134b73 --- /dev/null +++ b/inc/mlx90614.h @@ -0,0 +1,8 @@ +// +// Created by dell on 24-9-26. +// + +#ifndef MLX90614_H +#define MLX90614_H + +#endif //MLX90614_H diff --git a/src/mlx90614.c b/src/mlx90614.c new file mode 100644 index 0000000..b260e5a --- /dev/null +++ b/src/mlx90614.c @@ -0,0 +1,5 @@ +// +// Created by dell on 24-9-26. +// + +#include "mlx90614.h"