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

niveau.h

Committer:
chevamax
Date:
2017-04-01
Revision:
17:cce0eada6d82
Parent:
15:79a78f997f18

File content as of revision 17:cce0eada6d82:

#ifndef __NIVEAU_H
#define __NIVEAU_H

#include "mbed.h"
#include "PinNames.h"

//Representation des niveaux recu par la cuve
//
class Niveau {
  private:
    DigitalIn gs;
    DigitalIn p1;//Poid fort : A2
    DigitalIn p2;// A1
    DigitalIn p3; //Poid faible : A0
  public:
    Niveau(PinName GS, PinName pfort, PinName pm, PinName pfaible);
    char getNiveauCuve();
};

#endif // __NIVEAU_H