diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2016-05-12 19:49:20 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2016-05-12 19:49:20 +0200 |
commit | 2ddb4f618f34582ea8c9731898651284aec600e7 (patch) | |
tree | 2b20c42d28f87ba9065796d58f47eb98dc694936 /stm-led.h | |
parent | 7a4ca0d663390446b2e17d25352d14c0306beeab (diff) |
Update LED pinouts, don't think the colors are right yet though.
Diffstat (limited to 'stm-led.h')
-rw-r--r-- | stm-led.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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) |