diff --git a/src/led.rs b/src/led.rs index 2c6137d6c421b4d221487cf7c7ff0e852c1e3e37..5aa0de4698465107359c0e70c636976d50c6eb53 100644 --- a/src/led.rs +++ b/src/led.rs @@ -5,6 +5,9 @@ use stm32f103xx::{GPIOC, RCC}; /// LED connected to pin PC13 +pub type LED = PC13; + +/// Pin PC13. There's an LED connected to this pin pub struct PC13; /// Initializes the user LED