aboutsummaryrefslogtreecommitdiff
path: root/stm/led.h
diff options
context:
space:
mode:
authorDamien2013-10-18 23:44:05 +0100
committerDamien2013-10-18 23:44:05 +0100
commit995b8aabb1ee786a4070d6d8392750ff878d53fa (patch)
tree94a997dc8a4e6e89d048786fb6812a12bc99f4b8 /stm/led.h
parent5ac1b2efbd5dfb2a62fe984dc9dc8a7127fb5e82 (diff)
Partially implement proper flash storage.
Diffstat (limited to 'stm/led.h')
-rw-r--r--stm/led.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/stm/led.h b/stm/led.h
new file mode 100644
index 000000000..aba00133d
--- /dev/null
+++ b/stm/led.h
@@ -0,0 +1,9 @@
+typedef enum {
+ PYB_LED_R1 = 0,
+ PYB_LED_R2 = 1,
+ PYB_LED_G1 = 2,
+ PYB_LED_G2 = 3,
+} pyb_led_t;
+
+void led_init();
+void led_state(pyb_led_t led, int state);