光敏电阻控制蜂鸣器

This commit is contained in:
2026-08-11 23:41:24 +08:00
parent beea93edb8
commit ded38a7c44
6 changed files with 77 additions and 15 deletions

8
BSP/LightSensor.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef __LIGHT_SENSOR_H
#define __LIGHT_SENSOR_H
void LightSensor_Init(void);
uint8_t LightSensor_Read(void);
#endif //STM32F103_SPL_CLION_LIGHTSENSOR_H