move command execution out of main.cpp

This commit is contained in:
2019-07-22 11:51:24 +03:00
parent 86e5584641
commit e641afeac8
6 changed files with 120 additions and 89 deletions

View File

@@ -7,12 +7,12 @@ enum bcAxis {
Z = 3,
};
enum I2CMessage {
WAIT,
enum class I2CStatusMsg {
WAIT = 0,
NEXT,
};
enum StatusMSG {
enum PosMsg {
servoRot,
eggRot,
servoPos,