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
Horloges/horloge.h@28:8c8b33336a4c, 2019-05-16 (annotated)
- Committer:
- ascheriit
- Date:
- Thu May 16 07:16:52 2019 +0000
- Revision:
- 28:8c8b33336a4c
- Parent:
- 27:86d38e8d3015
- Child:
- 33:31271a36a9a4
debut des reglages
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ascheriit | 24:682b9e68dca8 | 1 | #include "Trace.h" |
| ascheriit | 28:8c8b33336a4c | 2 | #include "codeurRotatifRelatif.h" |
| ascheriit | 20:f3e8319b7899 | 3 | |
| ascheriit | 20:f3e8319b7899 | 4 | #ifndef DEF_H |
| ascheriit | 20:f3e8319b7899 | 5 | #define DEF_H |
| ascheriit | 20:f3e8319b7899 | 6 | |
| ascheriit | 20:f3e8319b7899 | 7 | struct temps { |
| ascheriit | 20:f3e8319b7899 | 8 | char heure; |
| ascheriit | 20:f3e8319b7899 | 9 | char minute; |
| ascheriit | 20:f3e8319b7899 | 10 | }; |
| ascheriit | 20:f3e8319b7899 | 11 | |
| ascheriit | 20:f3e8319b7899 | 12 | #endif |
| ascheriit | 20:f3e8319b7899 | 13 | |
| ascheriit | 20:f3e8319b7899 | 14 | //fonctions pour les réglages |
| ascheriit | 26:6e4d3faa34fb | 15 | void H_ChangeHour(temps*,int); //permet de régler l'heure,en comptent le fait que il n'y en a que 24 |
| ascheriit | 26:6e4d3faa34fb | 16 | void H_ChangeMinute(temps*,int); //permet de régler la minute,en comptent le fait que il n'y en a que 60 et que les minutes font évoluer les heures |
| ascheriit | 28:8c8b33336a4c | 17 | void H_reglage(temps* mnt,int x,int y,int taille,long long int couleur,long long int fond); //Cette fonction permet d'édider interactivement l'heure. |
| ascheriit | 20:f3e8319b7899 | 18 | |
| ascheriit | 20:f3e8319b7899 | 19 | //fonctions pour l'affichage |
| ascheriit | 27:86d38e8d3015 | 20 | void H_afficheHorlogeElemClean(temps mnt,int x,int y,int taille,long long int couleur,long long int fond); //Affiche l'heure avec les éléments |
| ascheriit | 25:004d58f42fbd | 21 | |
| ascheriit | 25:004d58f42fbd | 22 | //test |
| ascheriit | 28:8c8b33336a4c | 23 | void H_test1(); //test du passage du temps |
| ascheriit | 28:8c8b33336a4c | 24 | void H_test2(); //test des réglages |
