diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2016-05-17 15:24:28 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2016-05-18 12:16:37 +0200 |
commit | e02808ab140070f3493ee69fcd9e18077c50511e (patch) | |
tree | 26a2b17360726d82635425cdfa13fe223cab8a05 | |
parent | 802a6f374f7569598dea55b3992818b65985f8b6 (diff) |
correct LED pinouts for the Alpha
-rw-r--r-- | stm-led.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -38,10 +38,10 @@ #include "stm32f4xx_hal.h" #define LED_PORT GPIOK -#define LED_RED GPIO_PIN_5 -#define LED_YELLOW GPIO_PIN_7 -#define LED_GREEN GPIO_PIN_4 -#define LED_BLUE GPIO_PIN_6 +#define LED_RED GPIO_PIN_7 +#define LED_YELLOW GPIO_PIN_6 +#define LED_GREEN GPIO_PIN_5 +#define LED_BLUE GPIO_PIN_4 #define led_on(pin) HAL_GPIO_WritePin(LED_PORT,pin,SET) #define led_off(pin) HAL_GPIO_WritePin(LED_PORT,pin,RESET) |