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 Semtech

Committer:
chevamax
Date:
Sat Apr 01 12:29:59 2017 +0000
Revision:
17:cce0eada6d82
Parent:
15:79a78f997f18
Version finale

Who changed what in which revision?

UserRevisionLine numberNew 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 17:cce0eada6d82 7 //Representation des niveaux recu par la cuve
chevamax 17:cce0eada6d82 8 //
chevamax 15:79a78f997f18 9 class Niveau {
chevamax 15:79a78f997f18 10 private:
chevamax 17:cce0eada6d82 11 DigitalIn gs;
chevamax 17:cce0eada6d82 12 DigitalIn p1;//Poid fort : A2
chevamax 17:cce0eada6d82 13 DigitalIn p2;// A1
chevamax 17:cce0eada6d82 14 DigitalIn p3; //Poid faible : A0
chevamax 15:79a78f997f18 15 public:
chevamax 17:cce0eada6d82 16 Niveau(PinName GS, PinName pfort, PinName pm, PinName pfaible);
chevamax 15:79a78f997f18 17 char getNiveauCuve();
chevamax 15:79a78f997f18 18 };
chevamax 15:79a78f997f18 19
chevamax 15:79a78f997f18 20 #endif // __NIVEAU_H