From e02808ab140070f3493ee69fcd9e18077c50511e Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Tue, 17 May 2016 15:24:28 +0200 Subject: correct LED pinouts for the Alpha --- stm-led.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stm-led.h b/stm-led.h index bcac463..7c20879 100644 --- a/stm-led.h +++ b/stm-led.h @@ -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) -- cgit v1.2.3