ESP Line Following Buggy
2nd Year Embedded System Project (Group 48 - 2023/24)
|
MCU pin assigments in one file for easy modification. More...
Go to the source code of this file.
Macros | |
#define | LED_PIN LED1 |
#define | MOTORL_BIPOLAR_PIN PA_6 |
#define | MOTORL_DIRECTION_PIN PA_7 |
#define | MOTORL_PWM_PIN PB_6 |
#define | MOTORR_BIPOLAR_PIN PC_7 |
#define | MOTORR_DIRECTION_PIN PA_9 |
#define | MOTORR_PWM_PIN PA_8 |
#define | DRIVER_ENABLE_PIN PB_10 |
#define | DRIVER_MONITOR_PIN PB_4 |
#define | MOTORL_CHA_PIN PA_0 |
#define | MOTORL_CHB_PIN PA_1 |
#define | MOTORR_CHA_PIN PB_3 |
#define | MOTORR_CHB_PIN PA_10 |
#define | BT_TX_PIN PA_11 |
#define | BT_RX_PIN PA_12 |
#define | SENSOR0_OUT_PIN PB_2 |
#define | SENSOR1_OUT_PIN PB_1 |
#define | SENSOR2_OUT_PIN PB_15 |
#define | SENSOR3_OUT_PIN PB_14 |
#define | SENSOR4_OUT_PIN PB_13 |
#define | SENSOR5_OUT_PIN PC_4 |
#define | SENSOR0_IN_PIN PC_2 |
#define | SENSOR1_IN_PIN PC_3 |
#define | SENSOR2_IN_PIN PA_4 |
#define | SENSOR3_IN_PIN PB_0 |
#define | SENSOR4_IN_PIN PC_1 |
#define | SENSOR5_IN_PIN PC_0 |
MCU pin assigments in one file for easy modification.
Definition in file pin_assignments.h.
#define BT_RX_PIN PA_12 |
Definition at line 35 of file pin_assignments.h.
#define BT_TX_PIN PA_11 |
Definition at line 34 of file pin_assignments.h.
#define DRIVER_ENABLE_PIN PB_10 |
Definition at line 24 of file pin_assignments.h.
#define DRIVER_MONITOR_PIN PB_4 |
Definition at line 25 of file pin_assignments.h.
#define LED_PIN LED1 |
Definition at line 11 of file pin_assignments.h.
#define MOTORL_BIPOLAR_PIN PA_6 |
Definition at line 14 of file pin_assignments.h.
#define MOTORL_CHA_PIN PA_0 |
Definition at line 28 of file pin_assignments.h.
#define MOTORL_CHB_PIN PA_1 |
Definition at line 29 of file pin_assignments.h.
#define MOTORL_DIRECTION_PIN PA_7 |
Definition at line 15 of file pin_assignments.h.
#define MOTORL_PWM_PIN PB_6 |
Definition at line 16 of file pin_assignments.h.
#define MOTORR_BIPOLAR_PIN PC_7 |
Definition at line 19 of file pin_assignments.h.
#define MOTORR_CHA_PIN PB_3 |
Definition at line 30 of file pin_assignments.h.
#define MOTORR_CHB_PIN PA_10 |
Definition at line 31 of file pin_assignments.h.
#define MOTORR_DIRECTION_PIN PA_9 |
Definition at line 20 of file pin_assignments.h.
#define MOTORR_PWM_PIN PA_8 |
Definition at line 21 of file pin_assignments.h.
#define SENSOR0_IN_PIN PC_2 |
Definition at line 46 of file pin_assignments.h.
#define SENSOR0_OUT_PIN PB_2 |
Definition at line 38 of file pin_assignments.h.
#define SENSOR1_IN_PIN PC_3 |
Definition at line 47 of file pin_assignments.h.
#define SENSOR1_OUT_PIN PB_1 |
Definition at line 39 of file pin_assignments.h.
#define SENSOR2_IN_PIN PA_4 |
Definition at line 48 of file pin_assignments.h.
#define SENSOR2_OUT_PIN PB_15 |
Definition at line 40 of file pin_assignments.h.
#define SENSOR3_IN_PIN PB_0 |
Definition at line 49 of file pin_assignments.h.
#define SENSOR3_OUT_PIN PB_14 |
Definition at line 41 of file pin_assignments.h.
#define SENSOR4_IN_PIN PC_1 |
Definition at line 50 of file pin_assignments.h.
#define SENSOR4_OUT_PIN PB_13 |
Definition at line 42 of file pin_assignments.h.
#define SENSOR5_IN_PIN PC_0 |
Definition at line 51 of file pin_assignments.h.
#define SENSOR5_OUT_PIN PC_4 |
Definition at line 43 of file pin_assignments.h.