add diffrent brightness leds
This commit is contained in:
15
src/led_pwm.h
Normal file
15
src/led_pwm.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
typedef enum {
|
||||
LED_COLOR_RED,
|
||||
LED_COLOR_GREEN,
|
||||
} led_color_t;
|
||||
|
||||
typedef enum {
|
||||
LED_LEFT = 1,
|
||||
LED_RIGHT = 2,
|
||||
LED_BOTH = 3,
|
||||
} led_side_t;
|
||||
|
||||
void led_init(void);
|
||||
void led_set_color(led_color_t color, led_side_t side);
|
||||
Reference in New Issue
Block a user