maxime bouillot / Mbed 2 deprecated testLucadeTHmaxBOUI

Dependencies:   LCD_DISCO_F429ZI mbed BSP_DISCO_F429ZI

Revision:
24:682b9e68dca8
Parent:
20:f3e8319b7899
Child:
25:004d58f42fbd
--- a/Horloges/horloge.cpp	Fri May 10 14:06:36 2019 +0000
+++ b/Horloges/horloge.cpp	Fri May 10 14:24:19 2019 +0000
@@ -1,5 +1,7 @@
 #include "horloge.h"
 
+char VRGL_AFFICHAGE_ELEMENTS = 0; //Cette variable globale vaut 1 si on affiche les éléments et vaut 0 sinon
+
 char H_ChangeHour(char heure,int mod){
     if(mod==1){
         if(heure==24){
@@ -33,5 +35,11 @@
 }
 
 void h_afficheHorlogeElemClean(temps mnt,int x,int y,int taille,long long int couleur,long long int fond){
-    
+    if(VRGL_AFFICHAGE_ELEMENTS){
+        ;
+    }else{
+        BS_displayChiffre100Clean(x,y,mnt.heure,taille,couleur,fond);
+        DisplayMatrixClean(x + 17 * taille,y,BS_dotdot(),taille,couleur,fond);
+        BS_displayChiffre100Clean(x + 26 * taille,y,mnt.minute,taille,couleur,fond);
+    }
 }
\ No newline at end of file