first commit
This commit is contained in:
20
code/SmallCart/SmallCartMain/src/motion/motion.h
Normal file
20
code/SmallCart/SmallCartMain/src/motion/motion.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user