added LED code. Further Code restructure
This commit is contained in:
11
Software/Core/Inc/led.h
Normal file
11
Software/Core/Inc/led.h
Normal file
@ -0,0 +1,11 @@
|
||||
#ifndef INC_LED
|
||||
#define INC_LED
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "stm32f0xx_hal_tim.h"
|
||||
|
||||
void led_init(TIM_HandleTypeDef* htim);
|
||||
void blink(TIM_HandleTypeDef* htim, int32_t color);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user