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
00001 #ifndef __NIVEAU_H 00002 #define __NIVEAU_H 00003 00004 #include "mbed.h" 00005 #include "PinNames.h" 00006 00007 //Representation des niveaux recu par la cuve 00008 // 00009 class Niveau { 00010 private: 00011 DigitalIn gs; 00012 DigitalIn p1;//Poid fort : A2 00013 DigitalIn p2;// A1 00014 DigitalIn p3; //Poid faible : A0 00015 public: 00016 Niveau(PinName GS, PinName pfort, PinName pm, PinName pfaible); 00017 char getNiveauCuve(); 00018 }; 00019 00020 #endif // __NIVEAU_H
Generated on Thu Jul 14 2022 10:55:31 by 1.7.2