Skip to content

Commit

Permalink
Switch to only using the first 8 servos
Browse files Browse the repository at this point in the history
  • Loading branch information
WillB97 committed Apr 18, 2024
1 parent 52806d0 commit b4aeed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/servo.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stdint.h>
#include <stdbool.h>

#define NUM_SERVOS 12
#define NUM_SERVOS 8
#define NUM_SERVO_PHASES 3
#define ROUND_UP_DIV(x, y) (uint8_t)(((x) + (y) - 1) / (y))
#define SERVOS_PER_PHASE ROUND_UP_DIV(NUM_SERVOS, NUM_SERVO_PHASES)
Expand Down

0 comments on commit b4aeed6

Please sign in to comment.