roverSTM  UM2 2013
Projet M1 Navarro Benjamin
 All Classes Files Functions Groups Pages
DiscoveryLED.h
1 /*
2  * DiscoveryLED.h
3  *
4  * Created on: 9 fŽvr. 2013
5  * Author: Benjamin Navarro
6  */
7 
8 #ifndef DISCOVERYLED_H_
9 #define DISCOVERYLED_H_
10 
11 #include <stm32f4xx.h>
12 #include <stm32f4_discovery.h>
13 
14 class DiscoveryLED {
15 public:
16  DiscoveryLED(Led_TypeDef Led);
17 
18  void on();
19  void off();
20  void toggle();
21 
22 private:
23  Led_TypeDef led;
24 };
25 
26 #endif /* DISCOVERYLED_H_ */