diff options
| author | Damien | 2013-10-18 23:44:05 +0100 |
|---|---|---|
| committer | Damien | 2013-10-18 23:44:05 +0100 |
| commit | 995b8aabb1ee786a4070d6d8392750ff878d53fa (patch) | |
| tree | 94a997dc8a4e6e89d048786fb6812a12bc99f4b8 /stm/led.h | |
| parent | 5ac1b2efbd5dfb2a62fe984dc9dc8a7127fb5e82 (diff) | |
Partially implement proper flash storage.
Diffstat (limited to 'stm/led.h')
| -rw-r--r-- | stm/led.h | 9 |
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); |
