biblioteca que serve como midleware para as diversas placas que podem implementar esse padrão !

Dependents:   sgam_mdw_test

Revision:
3:c87e6b48834e
Parent:
1:3a7f743de36f
--- a/peripheral/Sensor.h	Thu Jun 20 12:27:52 2019 -0300
+++ b/peripheral/Sensor.h	Sat Jun 22 11:59:31 2019 -0300
@@ -7,8 +7,11 @@
     Sensor() { };
     ~Sensor(){ };
 
+    virtual int initialize() = 0;
+    virtual int finalize() = 0;
+
     virtual T* getValue() = 0;
-    virtual char* getName() = 0;
+    virtual const char* getName() = 0;
 
 protected:
     T* value;