Module sigfox pour le projet toiture

Dependents:   projet_embarque1 projet_embarque1

Revision:
1:11f6ddd8fdbe
Parent:
0:8172b6cb4020
Child:
2:fd9cadc78239
--- a/Sigfox.h	Mon Sep 30 08:27:52 2019 +0000
+++ b/Sigfox.h	Mon Sep 30 09:29:59 2019 +0000
@@ -7,11 +7,9 @@
 typedef uint16_t    u16;
 typedef int16_t     s16;
 
-class Sigfox{
-    private: 
-        Serial *_at;
+class Sigfox: public Serial{
     public:
-        Sigfox(Serial *at);
+        Sigfox(PinName tx, PinName rx);
     
         /**
         * @brief  Tester si le module sigfox est pret