Skip to content

Commit

Permalink
Update main.h on GPIO Pins for Light & Brake Light (#40)
Browse files Browse the repository at this point in the history
Should be GPIOB not GPIOA
  • Loading branch information
viktoschi authored Jun 18, 2024
1 parent 907a78a commit 04ecf2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Inc/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@
#define LED_Pin GPIO_PIN_2
#define LED_GPIO_Port GPIOB
#define LIGHT_Pin GPIO_PIN_9
#define LIGHT_GPIO_Port GPIOA
#define LIGHT_GPIO_Port GPIOB
#define BRAKE_LIGHT_Pin GPIO_PIN_10
#define BRAKE_LIGHT_GPIO_Port GPIOA
#define BRAKE_LIGHT_GPIO_Port GPIOB
#define PAS_Pin GPIO_PIN_8
#define PAS_GPIO_Port GPIOB
#define Brake_Pin GPIO_PIN_15 // put a 15 here for new generation controllers!
Expand Down

0 comments on commit 04ecf2f

Please sign in to comment.