Files
Chassis/project/code/GrayscaleSensor.h
T
2026-06-06 21:26:08 +08:00

13 lines
328 B
C

#ifndef GRAYSCALESENSOR_H
#define GRAYSCALESENSOR_H
#include "zf_common_typedef.h"
extern volatile float grayscale_sensor_position; // 存储小车相对于黑线的位置
void grayscale_sensor_init(void);
void grayscale_sensor_scan(void);
void grayscale_sensor_set_white(void);
void grayscale_sensor_set_black(void);
#endif