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
niveau.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 __NIVEAU_H |
chevamax | 15:79a78f997f18 | 2 | #define __NIVEAU_H |
chevamax | 15:79a78f997f18 | 3 | |
chevamax | 15:79a78f997f18 | 4 | #include "mbed.h" |
chevamax | 15:79a78f997f18 | 5 | #include "PinNames.h" |
chevamax | 15:79a78f997f18 | 6 | |
chevamax | 15:79a78f997f18 | 7 | //TODO Version de base avec 3 PIN seulement |
chevamax | 15:79a78f997f18 | 8 | class Niveau { |
chevamax | 15:79a78f997f18 | 9 | private: |
chevamax | 15:79a78f997f18 | 10 | //DigitalIn p1(PC_15);//(PC_15); //Poid fort |
chevamax | 15:79a78f997f18 | 11 | //DigitalIn p2(PH_0); |
chevamax | 15:79a78f997f18 | 12 | //DigitalIn p3(PH_1); //Poid faible |
chevamax | 15:79a78f997f18 | 13 | public: |
chevamax | 15:79a78f997f18 | 14 | Niveau(); |
chevamax | 15:79a78f997f18 | 15 | char getNiveauCuve(); |
chevamax | 15:79a78f997f18 | 16 | }; |
chevamax | 15:79a78f997f18 | 17 | |
chevamax | 15:79a78f997f18 | 18 | #endif // __NIVEAU_H |