programm works

This commit is contained in:
2024-09-22 21:38:17 +03:00
parent b98846eac1
commit 5b4db505c2
6 changed files with 263 additions and 117 deletions

View File

@ -36,14 +36,16 @@ typedef enum State{
typedef struct CurrentShot {
uint8_t index;
uint16_t currentRepeatCount;
uint16_t currentBallCount;
Shot shot;
} CurrentShot;
typedef struct CurrentProgram {
uint8_t index;
Program program;
uint8_t shot_index;
CurrentShot currentShot;
uint8_t programShotId;
uint16_t currentBallCount;
} CurrentProgram;
typedef struct CurrentMacro {
@ -75,7 +77,7 @@ void BallEXT();
void RobotTick();
uint8_t prepareShot(uint8_t number);
//uint8_t prepareProgramm(uint8_t number);
uint8_t prepareProgramm(uint8_t number);
//uint8_t prepareMacro(uint8_t number);