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:
- 20:f3e8319b7899
- Child:
- 24:682b9e68dca8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Horloges/horloge.cpp Thu May 09 10:06:16 2019 +0000
@@ -0,0 +1,37 @@
+#include "horloge.h"
+
+char H_ChangeHour(char heure,int mod){
+ if(mod==1){
+ if(heure==24){
+ return 1;
+ }else{
+ return heure+1;
+ }
+ }else{
+ if(heure==1){
+ return 24;
+ }else{
+ return heure-1;
+ }
+ }
+}
+
+char H_ChangeMinute(char minute,int mod){
+ if(mod==1){
+ if(minute==60){
+ return 1;
+ }else{
+ return minute+1;
+ }
+ }else{
+ if(minute==1){
+ return 60;
+ }else{
+ return minute-1;
+ }
+ }
+}
+
+void h_afficheHorlogeElemClean(temps mnt,int x,int y,int taille,long long int couleur,long long int fond){
+
+}
\ No newline at end of file
