From 2ddb4f618f34582ea8c9731898651284aec600e7 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Thu, 12 May 2016 19:49:20 +0200 Subject: Update LED pinouts, don't think the colors are right yet though. --- stm-led.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'stm-led.h') diff --git a/stm-led.h b/stm-led.h index 5af084a..bcac463 100644 --- a/stm-led.h +++ b/stm-led.h @@ -37,11 +37,11 @@ #include "stm32f4xx_hal.h" -#define LED_PORT GPIOJ -#define LED_RED GPIO_PIN_1 -#define LED_YELLOW GPIO_PIN_2 -#define LED_GREEN GPIO_PIN_3 -#define LED_BLUE GPIO_PIN_4 +#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_on(pin) HAL_GPIO_WritePin(LED_PORT,pin,SET) #define led_off(pin) HAL_GPIO_WritePin(LED_PORT,pin,RESET) -- cgit v1.2.3