Files
esp8266_study/code/SmallCart/SmallCartMain/src/motion/motion.h
2024-09-27 01:22:07 +08:00

21 lines
304 B
C++

#ifndef _MOTION_H__
#define _MOTION_H__
#include <Arduino.h>
class Motion
{
public:
void init();
void run(int cmd);
void speed(int LevelSpeed);
void turn(int nums);
void open();
void close();
void left();
void right();
void straight();
void backOff();
};
#endif