Changement des GPIO car changement de pcb
This commit is contained in:
parent
fde6592dec
commit
63d7cb2e5f
12
IO.hpp
12
IO.hpp
|
@ -4,16 +4,16 @@
|
|||
#include <Adafruit_SSD1306.h>
|
||||
#include <cmath>
|
||||
|
||||
#define PIN_TIRETTE 7
|
||||
#define PIN_TIRETTE 5
|
||||
#define PIN_BUTTON_COLOR 6
|
||||
#define PIN_MOTOR1 1
|
||||
#define PIN_MOTOR2 2
|
||||
#define PIN_SERVO 5
|
||||
#define PIN_MOTOR1 2
|
||||
#define PIN_MOTOR2 1
|
||||
#define PIN_SERVO 7
|
||||
|
||||
#define DANCING_ACTION_DELTA_ANGLE 2
|
||||
|
||||
#define KD 100
|
||||
#define ANGULAR_SPEED 45 // °/s
|
||||
#define GAIN_KD 100
|
||||
#define ANGULAR_SPEED 10 // °/s
|
||||
|
||||
enum class Axes {
|
||||
X,
|
||||
|
|
Loading…
Reference in New Issue