2024-04-16 18:17:30 +08:00
|
|
|
#ifndef _BY_MOTION_H__
|
|
|
|
|
#define _BY_MOTION_H__
|
|
|
|
|
|
|
|
|
|
#include "at32f413.h"
|
|
|
|
|
|
2024-04-19 17:16:24 +08:00
|
|
|
extern void by_motion_init(void);
|
|
|
|
|
extern int16_t by_motion_get_speed_m1(void);
|
|
|
|
|
extern int16_t by_motion_get_speed_m2(void);
|
|
|
|
|
|
|
|
|
|
extern int16_t speed_m1;
|
|
|
|
|
extern int16_t speed_m2;
|
2024-04-16 18:17:30 +08:00
|
|
|
|
|
|
|
|
#endif
|