Alexandre Lemay / Mbed 2 deprecated APP1_s5_A17

Dependencies:   mbed MMA8452

Revision:
9:b9ac1d914762
Parent:
8:5124be43c963
--- a/Afficheur.cpp	Tue Sep 05 10:00:13 2017 +0000
+++ b/Afficheur.cpp	Tue Sep 05 10:27:28 2017 +0000
@@ -14,18 +14,14 @@
         chipSelect = 1;
     }
 #endif
-    void Afficheur::write(char* characters,int length ) 
+    void Afficheur::write(char* characters,int length, int commaFlags ) 
     {
         
         Serial pc(USBTX, USBRX);
-        pc.printf("1");
         static char buf[20];
-        pc.printf("2");
         resetDisplay();
-        pc.printf("3");
         afficheur.write(characters,length,buf,20);
-        pc.printf("4");
-        showDot(expo);    
+        showDot(commaFlags);    
     }
     void Afficheur::write(char ch)
     {