mirror of
https://github.com/modelec/pami.git
synced 2026-03-18 21:40:35 +01:00
ajout système d'étapes
This commit is contained in:
@@ -10,6 +10,19 @@ enum Direction
|
||||
STOP
|
||||
};
|
||||
|
||||
enum StepType
|
||||
{
|
||||
STEP_FORWARD,
|
||||
STEP_ROTATE,
|
||||
STEP_FORWARD_UNTIL_FALL
|
||||
};
|
||||
|
||||
struct Step
|
||||
{
|
||||
StepType type;
|
||||
float value; // cm pour STEP_FORWARD, deg pour ROTATE, ignoré pour UNTIL_FALL
|
||||
};
|
||||
|
||||
// UART
|
||||
#define TX_PIN 17
|
||||
#define RX_PIN 16
|
||||
|
||||
Reference in New Issue
Block a user