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.cpp@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 | #include "mbed.h" |
chevamax | 15:79a78f997f18 | 2 | #include "pompe.h" |
chevamax | 15:79a78f997f18 | 3 | #include "debug.h" |
chevamax | 15:79a78f997f18 | 4 | #include "PinNames.h" |
chevamax | 15:79a78f997f18 | 5 | |
chevamax | 15:79a78f997f18 | 6 | Pompe::Pompe(){ |
chevamax | 15:79a78f997f18 | 7 | //p(PC_14); |
chevamax | 15:79a78f997f18 | 8 | } |
chevamax | 15:79a78f997f18 | 9 | |
chevamax | 15:79a78f997f18 | 10 | Pompe::Pompe(PinName pin){ |
chevamax | 15:79a78f997f18 | 11 | //p(pin); |
chevamax | 15:79a78f997f18 | 12 | } |
chevamax | 15:79a78f997f18 | 13 | void Pompe::activerPompe(){ |
chevamax | 15:79a78f997f18 | 14 | //p = 1; |
chevamax | 15:79a78f997f18 | 15 | } |
chevamax | 15:79a78f997f18 | 16 | void Pompe::arreterPompe(){ |
chevamax | 15:79a78f997f18 | 17 | //p = 0; |
chevamax | 15:79a78f997f18 | 18 | } |
chevamax | 15:79a78f997f18 | 19 | |
chevamax | 15:79a78f997f18 | 20 | char Pompe::etat(){ |
chevamax | 15:79a78f997f18 | 21 | return NULL;//(char) p; |
chevamax | 15:79a78f997f18 | 22 | } |