Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: LCD_DISCO_F429ZI mbed BSP_DISCO_F429ZI
Diff: Horloges/horloge.cpp
- Revision:
- 25:004d58f42fbd
- Parent:
- 24:682b9e68dca8
- Child:
- 26:6e4d3faa34fb
diff -r 682b9e68dca8 -r 004d58f42fbd Horloges/horloge.cpp
--- a/Horloges/horloge.cpp Fri May 10 14:24:19 2019 +0000
+++ b/Horloges/horloge.cpp Fri May 10 14:38:16 2019 +0000
@@ -34,7 +34,7 @@
}
}
-void h_afficheHorlogeElemClean(temps mnt,int x,int y,int taille,long long int couleur,long long int fond){
+void H_afficheHorlogeElemClean(temps mnt,int x,int y,int taille,long long int couleur,long long int fond){
if(VRGL_AFFICHAGE_ELEMENTS){
;
}else{
@@ -42,4 +42,20 @@
DisplayMatrixClean(x + 17 * taille,y,BS_dotdot(),taille,couleur,fond);
BS_displayChiffre100Clean(x + 26 * taille,y,mnt.minute,taille,couleur,fond);
}
+}
+
+void H_test(){
+ temps tempsTest;
+ tempsTest.heure = 15;
+ tempsTest.minute = 01;
+ //H_afficheHorlogeElemClean(tempsTest,15,30,3,0xFFFF0000,0xFFFFFFFF);
+ //wait(5);
+ for(int i=0;i<48;i++){
+ tempsTest.heure = H_ChangeHour(tempsTest.heure,1);
+ for(int j=0;j<60;j++){
+ tempsTest.minute = H_ChangeMinute(tempsTest.minute,1);
+ H_afficheHorlogeElemClean(tempsTest,50,50,4,0xFFFF0000,0xFFFFFFFF);
+ wait(0.1);
+ }
+ }
}
\ No newline at end of file
