Skip to content
Snippets Groups Projects
Commit a6dc05e9 authored by Jorge Aparicio's avatar Jorge Aparicio
Browse files

add LED alias for PC13

parent 849aa44a
Branches
No related tags found
No related merge requests found
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
use stm32f103xx::{GPIOC, RCC}; use stm32f103xx::{GPIOC, RCC};
/// LED connected to pin PC13 /// LED connected to pin PC13
pub type LED = PC13;
/// Pin PC13. There's an LED connected to this pin
pub struct PC13; pub struct PC13;
/// Initializes the user LED /// Initializes the user LED
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment