16 lines
276 B
C
16 lines
276 B
C
#ifndef __LIGHTSENSOR_R
|
|
#define __LIGHTSENSOR_R
|
|
|
|
|
|
|
|
void LightSensor_Init(void);
|
|
|
|
/*!< Pin x selected ON or OFF
|
|
parameter opt is high or low;表示高低电平
|
|
*/
|
|
|
|
/* 光敏传感器 返回函数 */
|
|
uint8_t GPIOB_LightSensor_Get(uint16_t GPIO_Pin_x);
|
|
|
|
#endif
|