summaryrefslogtreecommitdiffstatshomepage
path: root/stm/led.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm/led.h')
-rw-r--r--stm/led.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/stm/led.h b/stm/led.h
deleted file mode 100644
index 44c68d4ebe..0000000000
--- a/stm/led.h
+++ /dev/null
@@ -1,23 +0,0 @@
-typedef enum {
- // PYBv3
- PYB_LED_R1 = 1,
- PYB_LED_R2 = 2,
- PYB_LED_G1 = 3,
- PYB_LED_G2 = 4,
- // PYBv4
- PYB_LED_RED = 1,
- PYB_LED_GREEN = 2,
- PYB_LED_YELLOW = 3,
- PYB_LED_BLUE = 4,
- //STM32F4DISC
- PYB_LED_R = 1,
- PYB_LED_G = 2,
- PYB_LED_B = 3,
- PYB_LED_O = 4,
-} pyb_led_t;
-
-void led_init(void);
-void led_state(pyb_led_t led, int state);
-void led_toggle(pyb_led_t led);
-
-MP_DECLARE_CONST_FUN_OBJ(pyb_Led_obj);