Skip to content

Commit

Permalink
Add timer map
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Jul 1, 2024
1 parent 99b623f commit 058874c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions configs/SPEEDYBEEH5/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,18 @@
#define ADC_RSSI_PIN PC2
#define ADC_CURR_PIN PC1

#define TIMER_PIN_MAPPING TIMER_PIN_MAP(0, MOTOR1_PIN, 2, 0) \
TIMER_PIN_MAP(1, MOTOR2_PIN, 2, 0) \
TIMER_PIN_MAP(2, MOTOR3_PIN, 2, 0) \
TIMER_PIN_MAP(3, MOTOR4_PIN, 2, 0) \
TIMER_PIN_MAP(4, MOTOR5_PIN, 2, 0) \
TIMER_PIN_MAP(5, MOTOR6_PIN, 2, 0) \
TIMER_PIN_MAP(6, MOTOR7_PIN, 1, 0) \
TIMER_PIN_MAP(7, MOTOR8_PIN, 1, 0) \
TIMER_PIN_MAP(8, MOTOR9_PIN, 2, 0) \
TIMER_PIN_MAP(9, MOTOR10_PIN, 2, 0 \
TIMER_PIN_MAP(10, LED_STRIP_PIN, 1, 0)

#define ADC1_DMA_OPT 0

#define MAG_I2C_INSTANCE (I2CDEV_1)
Expand Down

0 comments on commit 058874c

Please sign in to comment.