Polytech school project. RICM4 students, see http://air.imag.fr/index.php/Projets-2016-2017-Station_de_pompage_connect%C3%A9e for more information
Dependencies: SX1272Lib mbed WakeUp
Fork of SX1272PingPong by
pompe.h@15:79a78f997f18, 2017-02-28 (annotated)
- Committer:
- chevamax
- Date:
- Tue Feb 28 13:40:13 2017 +0000
- Revision:
- 15:79a78f997f18
- Child:
- 17:cce0eada6d82
Application de test.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chevamax | 15:79a78f997f18 | 1 | #ifndef __POMPE_H |
chevamax | 15:79a78f997f18 | 2 | #define __POMPE_H |
chevamax | 15:79a78f997f18 | 3 | |
chevamax | 15:79a78f997f18 | 4 | #include "mbed.h" |
chevamax | 15:79a78f997f18 | 5 | |
chevamax | 15:79a78f997f18 | 6 | class Pompe { |
chevamax | 15:79a78f997f18 | 7 | public: |
chevamax | 15:79a78f997f18 | 8 | Pompe(); |
chevamax | 15:79a78f997f18 | 9 | Pompe(PinName pin); |
chevamax | 15:79a78f997f18 | 10 | void activerPompe(); |
chevamax | 15:79a78f997f18 | 11 | void arreterPompe(); |
chevamax | 15:79a78f997f18 | 12 | char etat(); |
chevamax | 15:79a78f997f18 | 13 | |
chevamax | 15:79a78f997f18 | 14 | private: |
chevamax | 15:79a78f997f18 | 15 | //DigitalOut p; |
chevamax | 15:79a78f997f18 | 16 | }; |
chevamax | 15:79a78f997f18 | 17 | |
chevamax | 15:79a78f997f18 | 18 | #endif // __POMPE_H |