mirror of
https://github.com/yoboujon/dumber.git
synced 2025-06-09 14:20:50 +02:00
14 lines
274 B
C
14 lines
274 B
C
#ifndef LED_H
|
|
#define LED_H
|
|
|
|
#include "stm32f1xx_hal.h"
|
|
|
|
|
|
/*Set led color and duty-cycle value
|
|
Color can be : LED_GREEN, LED_ORANGE, LED_RED
|
|
dutyCycle is a value between 0 and 123
|
|
*/
|
|
void LED_INIT(void);
|
|
void LED_SET(uint8_t color, uint8_t dutyCycle);
|
|
|
|
#endif
|